Go to the documentation of this file.
76 template <
class NavClass>
85 TUDEF(
"YumaNavDataFactory",
"YumaNavDataFactory");
100 TUDEF(
"YumaNavDataFactory",
"loadIntoMap");
104 std::string f2name = gnsstk::getPathData() + gnsstk::getFileSep() +
105 "test_input_yuma377.txt";
111 std::string f4name = gnsstk::getPathData() + gnsstk::getFileSep() +
112 "test_input_yuma377.txt";
113 TUCATCH(f4.setTypeFilter({gnsstk::NavMessageType::Almanac}));
122 nmm4.begin()->first);
123 TUCSM(
"convertToOrbit/fillNavData");
124 verifyDataType<gnsstk::GPSLNavAlm>(testFramework, nmm4);
125 TUCSM(
"loadIntoMap");
128 std::string f5name = gnsstk::getPathData() + gnsstk::getFileSep() +
129 "test_input_yuma377.txt";
130 TUCATCH(f5.setTypeFilter({gnsstk::NavMessageType::Health}));
139 nmm5.begin()->first);
140 TUCSM(
"convertToHealth/fillNavData");
141 verifyDataType<gnsstk::GPSLNavHealth>(testFramework, nmm5);
142 TUCSM(
"loadIntoMap");
145 std::string f6name = gnsstk::getPathData() + gnsstk::getFileSep() +
146 "test_input_yuma377.txt";
147 TUCATCH(f6.setTypeFilter({gnsstk::NavMessageType::Ephemeris}));
155 std::string f7name = gnsstk::getPathData() + gnsstk::getFileSep() +
156 "test_input_SP3a.sp3";
164 template <
class NavClass>
169 for (
auto& nmti : nmm)
171 for (
auto& sati : nmti.second)
173 for (
auto& ti : sati.second)
175 TUASSERT(
dynamic_cast<NavClass*
>(ti.second.get()) !=
nullptr);
185 unsigned errorTotal = 0;
190 std::cout <<
"Total Failures for " << __FILE__ <<
": " << errorTotal
bool addDataSource(const std::string &source) override
#define TUCATCH(STATEMENT)
std::map< NavMessageType, NavSatMap > NavMessageMap
Map nav message type to the rest of the storage.
#define TUASSERTE(TYPE, EXP, GOT)
@ Health
SV health status information message.
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
unsigned constructorTest()
Make sure the constructor does what it's supposed to.
@ CA
Legacy GPS civil code.
unsigned loadIntoMapTest()
Exercise loadIntoMap by loading data with different options in place.
bool addDataSource(const std::string &source) override
virtual size_t size() const
Return the number of nav messages in data.
gnsstk::NavMessageMap & getData()
Grant access to protected data.
std::ostream & operator<<(std::ostream &s, const ObsEpoch &oe) noexcept
@ L1
GPS L1, Galileo E1, SBAS L1, QZSS L1, BeiDou L1.
#define TUDEF(CLASS, METHOD)
Class used to identify navigation data signal types.
NavMessageType
Identify different types of navigation message data.
Automated tests for gnsstk::YumaNavDataFactory.
Make GroupPathCorrector instantiatable for testing.
NavSignalSet supportedSignals
@ Almanac
Low-precision orbits for other than the transmitting SV.
void verifyDataType(gnsstk::TestUtil &testFramework, gnsstk::NavMessageMap &nmm)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42