tests improved again
This commit is contained in:
parent
f7dd12745f
commit
97992a66cc
@ -39,6 +39,7 @@
|
|||||||
- (void)testWaypoint
|
- (void)testWaypoint
|
||||||
{
|
{
|
||||||
XCTAssertTrue([parser findWaypoint:@"DKB"].count > 0);
|
XCTAssertTrue([parser findWaypoint:@"DKB"].count > 0);
|
||||||
|
XCTAssertTrue([parser findWaypoint:@"BURAM"].count > 0);
|
||||||
XCTAssertTrue([parser findWaypoint:@"NNNN"].count == 0);
|
XCTAssertTrue([parser findWaypoint:@"NNNN"].count == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,6 +60,9 @@
|
|||||||
XCTAssertTrue(
|
XCTAssertTrue(
|
||||||
[[parser findCrosspointBetween:@"T104" and:@"T702" withStart:@"DKB"]
|
[[parser findCrosspointBetween:@"T104" and:@"T702" withStart:@"DKB"]
|
||||||
.firstObject isEqualToString:@"WLD"]);
|
.firstObject isEqualToString:@"WLD"]);
|
||||||
|
XCTAssertTrue(
|
||||||
|
[[parser findCrosspointBetween:@"T702" and:@"T104" withStart:@"DKB"]
|
||||||
|
.firstObject isEqualToString:@"WLD"]);
|
||||||
XCTAssertTrue([parser findCrosspointBetween:@"T104"
|
XCTAssertTrue([parser findCrosspointBetween:@"T104"
|
||||||
and:@"A1"
|
and:@"A1"
|
||||||
withStart:@"DKB"] == nil);
|
withStart:@"DKB"] == nil);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user