static void Main(string[] args) { var treeTravel = new TreeTravel(File.ReadAllLines("../input.txt").ToList()); //Part One Console.WriteLine($"Number of tree : {treeTravel.GetNumberOfTreeDefaultPath()}"); //Part Two Console.WriteLine($"Multiplication result : {treeTravel.GetNumberOfTreeForAllTravelPath()}"); }
public void PartTwoTest() { var subject = new TreeTravel(GetExampleInput()); Assert.Equal(336, subject.GetNumberOfTreeForAllTravelPath()); }