mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-10 19:46:10 +08:00
refs #707, refactoring geo interfaces
* added compare functions (also to ATC list) * renamed to relative position, e.g. station.setRelativeDistance * delegate set/get/compare to correct interface
This commit is contained in:
@@ -75,7 +75,7 @@ namespace BlackMiscTest
|
||||
QVERIFY2(station1 == station1, "Station should be equal");
|
||||
|
||||
QVERIFY(station1.getController() == station2.getController());
|
||||
QVERIFY(station1.getDistanceToOwnAircraft() == station2.getDistanceToOwnAircraft());
|
||||
QVERIFY(station1.getRelativeDistance() == station2.getRelativeDistance());
|
||||
|
||||
QVERIFY2(station1 == station2, "Station should be equal");
|
||||
QVERIFY2(station1 != station3, "Station should not be equal");
|
||||
|
||||
Reference in New Issue
Block a user