Skip to content

Commit 74b7d7f

Browse files
authored
Explicit test return code (#28)
1 parent 22c475c commit 74b7d7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fixed/test/fixed.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <cpp-utilities/fixed.h>
22
#include <iostream>
33
#include <cassert>
4+
#include <cstdlib>
45

56
using fixed = numeric::fixed<16, 16>;
67

@@ -62,4 +63,6 @@ int main() {
6263

6364
// conversion test
6465
assert(fixed(0x8000).to_uint() == 0x8000);
66+
67+
return EXIT_SUCCESS;
6568
}

0 commit comments

Comments
 (0)