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

Function checkReference

extras/tests/JsonVariant/types.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13template <typename T>
14void checkReference(T& expected) {
15 JsonVariant variant = expected;
16 REQUIRE(expected == variant.as<T&>());
17}
18
19template <typename T>
20void checkNumericType() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected