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

Method BasicCalculationTest

core/tests/ClockModel/ObsRngDev_T.cpp:421–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419 }
420
421 int BasicCalculationTest(void)
422 {
423 TUDEF("ObsRngDev", "BasicCalculation");
424 TUASSERT(ordVec.size() > 0);
425
426 for (int i=0; i < ordVec.size(); i++)
427 {
428 gnsstk::CorrectedEphemerisRange cer;
429 double rho = cer.ComputeAtTransmitTime(ordVec[i].obstime, prange[i], receiverPos, ordVec[i].svid, ephemStore);
430 TUASSERTFE(prange[i] - rho - ordVec[i].trop, ordVec[i].ord);
431 TUASSERTFE(ordVec[i].rho, rho);
432 TUASSERTE(int, ordVec[i].azimuth, cer.azimuth);
433 TUASSERTE(int, ordVec[i].elevation, cer.elevation);
434 }
435
436 TURETURN();
437 }
438
439 int IonosphericCalculationTest(void)
440 {

Callers 1

mainFunction · 0.80

Calls 2

sizeMethod · 0.45
ComputeAtTransmitTimeMethod · 0.45

Tested by

no test coverage detected