public void TestInput() { var bingo = Day4InputParser.ParseBingo("input_data/day4-test.txt"); var winner = bingo.FindWinner(); Assert.Equal(4512, winner.WinningNumber * bingo.SumBoard(winner.WinningBoard)); }
public void PuzzelTwo() { var bingo = Day4InputParser.ParseBingo("input_data/day4-1.txt"); var winner = bingo.FindLastWinner(); Assert.Equal(34726, winner.WinningNumber * bingo.SumBoard(winner.WinningBoard)); }