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