public void TestItAddsExtendedRunwayCentrelines()
        {
            FixedColourRunwayCentreline centreline = FixedColourRunwayCentrelineFactory.Make();

            collection.Add(centreline);
            Assert.Equal(centreline, collection.FixedColourRunwayCentrelines[0]);
        }
        public void TestItReturnsElementsInOrder()
        {
            OutputGroup group1 = new("1");
            OutputGroup group2 = new("2");

            outputGroups.AddGroupWithFiles(group1, new List <string> {
                "foo.txt"
            });
            outputGroups.AddGroupWithFiles(group2, new List <string> {
                "goo.txt"
            });

            Geo first  = GeoFactory.Make(definition: DefinitionFactory.Make("foo.txt"));
            Geo second = GeoFactory.Make(definition: DefinitionFactory.Make("goo.txt"));
            Geo third  = GeoFactory.Make(definition: DefinitionFactory.Make("foo.txt"));
            RunwayCentreline            fourth = RunwayCentrelineFactory.Make();
            FixedColourRunwayCentreline fifth  = FixedColourRunwayCentrelineFactory.Make();

            sectorElements.Add(first);
            sectorElements.Add(second);
            sectorElements.Add(third);
            sectorElements.Add(fourth);
            sectorElements.Add(fifth);

            IEnumerable <ICompilableElementProvider> expected = new List <ICompilableElementProvider>()
            {
                first,
                third,
                second,
                fifth,
                fourth
            };

            AssertCollectedItems(expected);
        }
 public FixedColourRunwayCentrelineTest()
 {
     segment    = RunwayCentrelineSegmentFactory.Make();
     centreline = new FixedColourRunwayCentreline(
         segment,
         DefinitionFactory.Make(),
         DocblockFactory.Make(),
         CommentFactory.Make()
         );
 }