예제 #1
0
        public int Part1()
        {
            var orbitAnalyzer = new OrbitAnalyzer(_orbits);
            var value         = orbitAnalyzer.GetNumberOfOrbits();

            return(value);
        }
예제 #2
0
        public void Part1Sample()
        {
            var expected      = 42;
            var orbits        = Day06.ReadInput(@"Inputs\inputDay06Test1.txt");
            var orbitAnalyzer = new OrbitAnalyzer(orbits);
            var value         = orbitAnalyzer.GetNumberOfOrbits();

            Assert.Equal(expected, value);
        }