예제 #1
0
    public void Should_calculate_bingo_winner()
    {
        var inputPath = Path.Combine(TestContext.CurrentContext.TestDirectory, "Day4Tests/Input/example.txt");
        var input     = File.ReadAllLines(inputPath);

        var result = Day4.CalculateBingoWinner(input);

        Assert.That(result, Is.EqualTo(4512));
    }