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

Function TEST_F

tests/input.cpp:89–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89TEST_F(input, integers)
90{
91 using P = fpm::fixed_16_16;
92 test_conversion("0", P(0));
93 test_conversion("+0", P(0));
94 test_conversion("-0", P(0));
95
96 test_conversion("1", P(1));
97 test_conversion("+1", P(1));
98 test_conversion("-1", P(-1));
99
100 test_conversion("12795", P(12795));
101 test_conversion("+12795", P(12795));
102 test_conversion("-12795", P(-12795));
103}
104
105TEST_F(input, fixed_notation)
106{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected