Exemplo n.º 1
0
    public void Should_calculate_deterministic_score()
    {
        var inputPath = Path.Combine(TestContext.CurrentContext.TestDirectory, "Day21Tests/Input/example.txt");
        var input     = File.ReadLines(inputPath);

        var result = Day21.CalculateDeterministicScore(input.ToArray());

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