MCPcopy Create free account
hub / github.com/SGL-UT/gnsstk / operatorTest

Method operatorTest

core/tests/RefTime/TimeSystem_T.cpp:57–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55};
56
57unsigned TimeSystem_T::operatorTest()
58{
59 TUDEF("TimeSystem", "operator<<");
60 std::string testMesg;
61 gnsstk::TimeSystem compare = gnsstk::TimeSystem::GAL;
62
63 //Does operator<< function correctly?
64 std::string outputString, compareString;
65 std::stringstream outputStream;
66 outputStream << compare;
67 outputString = outputStream.str();
68 compareString = "GAL";
69
70 TUASSERTE(std::string, compareString, outputString);
71 TURETURN();
72}
73
74unsigned TimeSystem_T::getLeapSecondsTest()
75{

Callers 2

mainFunction · 0.45
mainFunction · 0.45

Calls 1

TUASSERTEFunction · 0.50

Tested by

no test coverage detected