MCPcopy Create free account
hub / github.com/MikeLankamp/fpm / TEST

Function TEST

tests/arithmetic_int.cpp:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "common.hpp"
2
3TEST(arithmethic_int, addition)
4{
5 using P = fpm::fixed_24_8;
6
7 EXPECT_EQ(P(10.5), P(3.5) + 7);
8}
9
10TEST(arithmethic_int, subtraction)
11{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected