コード例 #1
0
ファイル: Day18Tests.cs プロジェクト: benbelow/adventofcode
        public void Part1()
        {
            var answer = Day18.Part1();

            answer.Should().NotBe(-1);
            answer.Should().Be(9535936849815L);
        }
コード例 #2
0
ファイル: Day18Tests.cs プロジェクト: benbelow/adventofcode
        public void Part2()
        {
            var answer = Day18.Part2();

            answer.Should().NotBe(-2);
            answer.Should().Be(472171581333710);
        }
コード例 #3
0
ファイル: Day18Tests.cs プロジェクト: benbelow/adventofcode
 public void Part2Examples(string input, long output)
 {
     Day18.EvaluateExpression2(input).Should().Be(output);
 }