MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / testFmtFloat

Method testFmtFloat

tests/test_format.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 void testFmtFloat() {
22 QString s = fmt::fmtFloat(3.14159f);
23 QVERIFY(s.contains("3.14"));
24 }
25
26 void testFmtBool() {
27 QCOMPARE(fmt::fmtBool(1), QString("true"));

Callers

nothing calls this directly

Calls 1

fmtFloatFunction · 0.85

Tested by

no test coverage detected