MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isEqual

Method isEqual

test/testmathlib.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void isEqual() const {
82 ASSERT_EQUALS(true, MathLib::isEqual("1.0", "1.0"));
83 ASSERT_EQUALS(false, MathLib::isEqual("1.", "1.01"));
84 ASSERT_EQUALS(true, MathLib::isEqual("0.1","1.0E-1"));
85 }
86
87 void isNotEqual() const {
88 ASSERT_EQUALS(false, MathLib::isNotEqual("1.0", "1.0"));

Callers

nothing calls this directly

Calls 1

isEqualFunction · 0.85

Tested by

no test coverage detected