Example #1
0
 public void Puzzle1ExampleTest()
 {
     // Example 1
     Assert.AreEqual(3, Day01.Puzzle1(InputData.ResourceManager.GetObject("D01_E1").ToString().Replace(",", Environment.NewLine)));
     // Example 2
     Assert.AreEqual(3, Day01.Puzzle1(InputData.ResourceManager.GetObject("D01_E2").ToString().Replace(",", Environment.NewLine)));
     // Example 3
     Assert.AreEqual(0, Day01.Puzzle1(InputData.ResourceManager.GetObject("D01_E3").ToString().Replace(",", Environment.NewLine)));
     // Example 4
     Assert.AreEqual(-6, Day01.Puzzle1(InputData.ResourceManager.GetObject("D01_E4").ToString().Replace(",", Environment.NewLine)));
 }
Example #2
0
 public void Puzzle1Test()
 {
     Assert.AreEqual(590, Day01.Puzzle1(inputDay01));
 }