Go to the documentation of this file.
61 {
return std::make_shared<TestClass>(*
this); }
68 unsigned constructorTest();
69 unsigned getOffsetTest();
70 unsigned getConversionsTest();
77 TUDEF(
"StdNavTimeOffset",
"StdNavTimeOffset");
92 uut.signal.messageType);
100 TUDEF(
"StdNavTimeOffset",
"getOffset");
106 uut.a0 = 1.9790604711E-09;
107 uut.a1 = 7.5495165675E-15;
132 TUFAIL(
"Did not throw an exception when expected");
134 catch (gnsstk::AssertionFailure)
140 std::cerr << exc << std::endl;
141 TUFAIL(
"Not the expected exception");
147 uut2.a0 = -3.72529030E-09;
148 uut2.a1 = -9.76996262E-15;
150 uut2.deltatLS = 17.0;
156 uut2.deltatLSF = 18.0;
182 TUDEF(
"StdNavTimeOffset",
"getConversions");
189 TUCATCH(convs = offs.getConversions());
200 unsigned errorTotal = 0;
206 std::cout <<
"Total Failures for " << __FILE__ <<
": " << errorTotal
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
unsigned constructorTest()
Make sure constructor initializes data members correctly.
#define TUCATCH(STATEMENT)
#define TUASSERTE(TYPE, EXP, GOT)
std::pair< TimeSystem, TimeSystem > TimeCvtKey
unsigned getConversionsTest()
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
CommonTime & setTimeSystem(TimeSystem timeSystem)
gnsstk::NavDataPtr clone() const override
@ Unknown
unknown time frame; for legacy code compatibility
std::set< TimeCvtKey > TimeCvtSet
Define a unique set of time system conversions.
bool validate() const override
@ GAL
Galileo system time.
TimeSystem
Definition of various time systems.
#define TUDEF(CLASS, METHOD)
@ GLO
GLONASS system time (aka UTC(SU))
@ UTC
Coordinated Universal Time (e.g., from NTP)
std::ostream & operator<<(std::ostream &s, gnsstk::StringUtils::FFLead v)
@ TimeOffset
Message containing information about time system offsets.
NavMessageType
Identify different types of navigation message data.
bool getOffset(gnsstk::TimeSystem fromSys, gnsstk::TimeSystem toSys, const gnsstk::CommonTime &when, gnsstk::NavDataPtr &offset, gnsstk::SVHealth xmitHealth, gnsstk::NavValidityType valid) override
Make GroupPathCorrector instantiatable for testing.
#define TUASSERTFE(EXP, GOT)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41