Esempio n. 1
0
        public void MinTimestampWhenBusesAreInCorrectPositionTest()
        {
            var strings      = File.ReadLines(Program.InputTxt).ToList();
            var busesStrings = strings.Skip(1).First().Split(',');
            var buses        = new Buses(busesStrings);

            buses.MinTimestampWhenBusesAreInCorrectPosition().Should().Be(415579909629976L);
        }