static void Main(string[] args) { Day01.Solve(); Day02.Solve(); Day03.Solve(); Day04.Solve(); Day05.Solve(); Day06.Solve(); Day07.Solve(); Day08.Solve(); Day09.Solve(); Day10.Solve(); Day11.Solve(); Day12.Solve(); Day13.Solve(); Day14.Solve(); Day15.Solve(); Day16.Solve(); Day17.Solve(); Day18.Solve(); Day19.Solve(); Day20.Solve(); Day21.Solve(); Day22.Solve(); Day23.Solve(); Day24.Solve(); Day25.Solve(); Console.WriteLine("Press any key to exit"); Console.ReadKey(); }
public void Test2PuzzleInput() { var day = new Day05(); Assert.AreEqual( 711, day.Solve2(Day05.PUZZLE_INPUT)); }
public void Test1FromExample() { var day = new Day05(); Assert.AreEqual( 820, day.Solve1(TEST_INPUT)); }
public void Test1PuzzleInput() { var day = new Day05(); Assert.AreEqual( 933, day.Solve1(Day05.PUZZLE_INPUT)); }
public void CalculatesCorrectSeatId() { var day = new Day05(); Assert.AreEqual(357, day.CalculateSeatId("FBFBBFFRLR")); Assert.AreEqual(567, day.CalculateSeatId("BFFFBBFRRR")); Assert.AreEqual(119, day.CalculateSeatId("FFFBBBFRRR")); Assert.AreEqual(820, day.CalculateSeatId("BBFFBBFRLL")); }