| 10 | |
| 11 | template <typename T> |
| 12 | void checkInteger(const char* input, T expected) { |
| 13 | CAPTURE(input); |
| 14 | T actual = parseNumber<T>(input); |
| 15 | REQUIRE(expected == actual); |
| 16 | } |
| 17 | |
| 18 | TEST_CASE("parseNumber<int8_t>()") { |
| 19 | checkInteger<int8_t>("-128", -128); |
nothing calls this directly
no outgoing calls
no test coverage detected