public void DistanceTravelledByFurthestReindeer(string reindeer, int time, int expectedDistance) { var day14 = new Day14(); var actualDistance = day14.DistanceTravelledByFurthestReindeer(reindeer, time); Assert.Equal(expectedDistance, actualDistance); }
public void DistanceTravelledByFurthestReindeerPart1() { var day14 = new Day14(); const int time = 2503; const int expectedDistance = 2655; var data = LoadFromResource.Load("AdventOfCode.Tests.TestData.Day14.txt"); var actualDistance = day14.DistanceTravelledByFurthestReindeer(data, time); Assert.Equal(expectedDistance, actualDistance); }