| 55 | }; |
| 56 | |
| 57 | unsigned 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 | |
| 74 | unsigned TimeSystem_T::getLeapSecondsTest() |
| 75 | { |