| 1 | #include "common.hpp" |
| 2 | |
| 3 | TEST(arithmethic, negation) |
| 4 | { |
| 5 | using P = fpm::fixed_24_8; |
| 6 | |
| 7 | EXPECT_EQ(P(-13.125), -P( 13.125)); |
| 8 | EXPECT_EQ(P( 13.125), -P(-13.125)); |
| 9 | } |
| 10 | |
| 11 | TEST(arithmethic, addition) |
| 12 | { |
nothing calls this directly
no outgoing calls
no test coverage detected