Exemple #1
0
        public void FabricIntersection_Small_GetNonOverlappedId()
        {
            var fabricsIntersection = new FabricIntersection();

            var id = fabricsIntersection.FindNonOverlapped(Day4Consts.Input1PathSmall).FirstOrDefault().Id;

            Assert.Equal(3, id);
        }
Exemple #2
0
        public void FabricIntersection_Final_GetNonOverlappedId()
        {
            var fabricsIntersection = new FabricIntersection();

            var nonOverlapped = fabricsIntersection.FindNonOverlapped(Day4Consts.Input1Path);

            Assert.Single(nonOverlapped);
            Assert.Equal(894, nonOverlapped.First().Id);
        }