public void Day25Test1() { // arrange var path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); path = Path.GetFullPath(Path.Combine(path, "..", "..", "..")); var inputFile = Directory.GetFiles(path + @"/TestInput", "Day25_1.txt")[0]; var day25 = new Day25(inputFile); // act var result1 = day25.PartOne(); // assert Assert.Equal("14897079", result1); }
public void TestPartOneSample() { string input = ""; Assert.Equal(180, Day25.PartOne(input.Split("\n"))); }
public void TestPartOneInput() { string input = System.IO.File.ReadAllText("./Inputs/Day25.in"); Assert.Equal(180, Day25.PartOne(input.Split("\r\n"))); }