public void Should_calculate_final_magnitude() { var inputPath = Path.Combine(TestContext.CurrentContext.TestDirectory, "Day18Tests/Input/example.txt"); var input = File.ReadLines(inputPath); var result = Day18.CalculateMagnitude(input.ToArray()); Assert.That(result, Is.EqualTo(4140)); }