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 TestItAddsNdbs() { Ndb ndb = NdbFactory.Make(); collection.Add(ndb); Assert.Equal(ndb, collection.Ndbs[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() { Ndb first = NdbFactory.Make("EX"); Ndb second = NdbFactory.Make("BRI"); Ndb third = NdbFactory.Make("OF"); sectorElements.Add(first); sectorElements.Add(second); sectorElements.Add(third); IEnumerable <ICompilableElementProvider> expected = new List <ICompilableElementProvider>() { second, first, third }; AssertCollectedItems(expected); }