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

        var result = Day8.CalculateOutputs(input);

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