static void Main(string[] args) { var navigationSystem = new NavigationSystem(File.ReadAllLines("../input.txt")); //Part One Console.WriteLine(navigationSystem.GetNavigationDistance()); //Part One Console.WriteLine(navigationSystem.GetNavigationDistanceWithWaypoint()); }
public void PartTwoTest() { var subject = new NavigationSystem(GetExampleInput()); Assert.Equal(286, subject.GetNavigationDistanceWithWaypoint()); }