public void TestItAddsLowArtccs() { ArtccSegment artcc = ArtccSegmentFactory.Make(ArtccType.LOW); collection.Add(artcc); Assert.Equal(artcc, collection.LowArtccs[0]); }
public void TestItAddsHighArtccs() { ArtccSegment artcc = ArtccSegmentFactory.Make(ArtccType.HIGH); collection.Add(artcc); Assert.Equal(artcc, collection.HighArtccs[0]); }
public void TestItAddsArtccs() { ArtccSegment artcc = ArtccSegmentFactory.Make(); collection.Add(artcc); Assert.Equal(artcc, collection.Artccs[0]); }
public void TestItReturnsElementsInOrder() { ArtccSegment first = ArtccSegmentFactory.Make(identifier: "EGTT"); ArtccSegment second = ArtccSegmentFactory.Make(identifier: "EGPX"); ArtccSegment third = ArtccSegmentFactory.Make(identifier: "EISN"); sectorElements.Add(first); sectorElements.Add(second); sectorElements.Add(third); IEnumerable <ICompilableElementProvider> expected = new List <ICompilableElementProvider>() { second, first, third }; AssertCollectedItems(expected); }