mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-06 01:06:31 +08:00
refs #314, modulator based classes to latest style
* removed exceptions * removed tryGet methods * adjusted samples
This commit is contained in:
@@ -68,10 +68,8 @@ namespace BlackMiscTest
|
||||
QVERIFY2(c1 != c2, "COM system shall not be equal");
|
||||
c1 = c2;
|
||||
QVERIFY2(c1 == c2, "COM system shall be equal");
|
||||
CFrequency f(100.0, CFrequencyUnit::MHz());
|
||||
CNavSystem nav1;
|
||||
QVERIFY2(CNavSystem::tryGetNav1System(nav1, 110.0), "Expect NAV system");
|
||||
QVERIFY2(!CNavSystem::tryGetNav1System(nav1, 200.0), "Expect no NAV system");
|
||||
QVERIFY2(CNavSystem::isValidCivilNavigationFrequency(CFrequency(110.0, CFrequencyUnit::MHz())), "Expect valid nav frequency");
|
||||
QVERIFY2(!CNavSystem::isValidCivilNavigationFrequency(CFrequency(200.0, CFrequencyUnit::MHz())), "Expect invalid nav frequency");
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user