Example #1
0
 public void ExampleA1()
 {
     Assert.AreEqual(new char[] { '1', '\0', '\0', '\0', '\0', '\0', '\0', '\0' },
                     Day05.FindPassword("abc", 1));
 }
Example #2
0
 public void ExampleB2()
 {
     Assert.AreEqual(new char[] { '\0', '5', '\0', '\0', 'e', '\0', '\0', '\0' },
                     Day05.FindPassword("abc", 2, true));
 }
Example #3
0
 public void ExampleB3()
 {
     Assert.AreEqual(new char[] { '0', '5', 'a', 'c', 'e', '8', 'e', '3' },
                     Day05.FindPassword("abc", 8, true));
 }
Example #4
0
 public void ExampleA4()
 {
     Assert.AreEqual(new char[] { '1', '8', 'f', '4', '7', 'a', '3', '0' },
                     Day05.FindPassword("abc", 8));
 }