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

Method test_getSvModeErrorThrow

core/tests/ClockModel/ObsClockModel_T.cpp:304–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302
303
304int ObsClockModel_T::test_getSvModeErrorThrow() {
305 TUDEF("ObsClockModel", "getSvModeErrorThrow");
306 // Verify that an error is thrown when attempting to get a SV mode that does nto exist
307
308 try {
309 ObsClockModel_Child testObsClockModel;
310
311 SatID SV1;
312
313 TUTHROW(testObsClockModel.getSvMode(SV1));
314
315 } catch (...) {
316
317 TUFAIL("Unexpected getSvMode did not throw error when look for a no existant SV");
318
319 }
320
321 TURETURN();
322}
323
324
325int ObsClockModel_T::test_setAndGetSigmaMultiplier()

Callers 1

mainFunction · 0.80

Calls 1

getSvModeMethod · 0.80

Tested by

no test coverage detected