MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / checkDouble

Function checkDouble

extras/tests/Numbers/parseDouble.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace ArduinoJson::detail;
13
14void checkDouble(const char* input, double expected) {
15 CAPTURE(input);
16 REQUIRE(parseNumber<double>(input) == Approx(expected));
17}
18
19void checkDoubleNaN(const char* input) {
20 CAPTURE(input);

Callers 1

parseDouble.cppFile · 0.85

Calls 1

ApproxFunction · 0.50

Tested by

no test coverage detected