public void TestItAddsLowAirways() { AirwaySegment airway = AirwaySegmentFactory.Make(); collection.Add(airway); Assert.Equal(airway, collection.LowAirways[0]); }
public void TestItAddsHighAirways() { AirwaySegment airway = AirwaySegmentFactory.Make(AirwayType.HIGH); collection.Add(airway); Assert.Equal(airway, collection.HighAirways[0]); }
public void TestItReturnsElementsInOrder() { AirwaySegment first = AirwaySegmentFactory.Make(identifier: "N864"); AirwaySegment second = AirwaySegmentFactory.Make(identifier: "N862"); AirwaySegment third = AirwaySegmentFactory.Make(identifier: "L9"); sectorElements.Add(first); sectorElements.Add(second); sectorElements.Add(third); IEnumerable <ICompilableElementProvider> expected = new List <ICompilableElementProvider>() { third, second, first }; AssertCollectedItems(expected); }