public AllSctSidsMustHaveAValidRouteTest() { sectorElements.Add(FixFactory.Make("testfix")); sectorElements.Add(VorFactory.Make("testvor")); sectorElements.Add(NdbFactory.Make("testndb")); sectorElements.Add(AirportFactory.Make("testairport")); }
public AllCoordinationPointsMustHaveValidNextTest() { sectorElements.Add(FixFactory.Make("testfix")); sectorElements.Add(VorFactory.Make("testvor")); sectorElements.Add(NdbFactory.Make("testndb")); sectorElements.Add(AirportFactory.Make("testairport")); }
public AllRegionsMustHaveValidPointsTest() { sectorElements.Add(FixFactory.Make("testfix")); sectorElements.Add(VorFactory.Make("testvor")); sectorElements.Add(NdbFactory.Make("testndb")); sectorElements.Add(AirportFactory.Make("testairport")); }
public AllCircleSectorlinesMustHaveValidCentreTest() { sectorElements.Add(FixFactory.Make("testfix")); sectorElements.Add(VorFactory.Make("testvor")); sectorElements.Add(NdbFactory.Make("testndb")); sectorElements.Add(AirportFactory.Make("testairport")); }
public RoutePointValidatorTest() { sectorElements = new SectorElementCollection(); sectorElements.Add(FixFactory.Make("testfix")); sectorElements.Add(VorFactory.Make("testvor")); sectorElements.Add(NdbFactory.Make("testndb")); sectorElements.Add(AirportFactory.Make("testairport")); }
public void TestItAddsVors() { Vor vor = VorFactory.Make(); collection.Add(vor); Assert.Equal(vor, collection.Vors[0]); }
public AllSidsMustHaveAValidRouteTest() { first = SidStarFactory.Make(route: new List <string>(new[] { "testfix", "testvor", "testndb", "testairport" })); second = SidStarFactory.Make(route: new List <string>(new[] { "nottestfix", "testvor", "testndb", "testairport" })); sectorElements.Add(FixFactory.Make("testfix")); sectorElements.Add(VorFactory.Make("testvor")); sectorElements.Add(NdbFactory.Make("testndb")); sectorElements.Add(AirportFactory.Make("testairport")); }
public void TestItReturnsElementsInOrder() { Vor first = VorFactory.Make("DVR"); Vor second = VorFactory.Make("BIG"); Vor third = VorFactory.Make("KOK"); sectorElements.Add(first); sectorElements.Add(second); sectorElements.Add(third); IEnumerable <ICompilableElementProvider> expected = new List <ICompilableElementProvider>() { second, first, third }; AssertCollectedItems(expected); }