def main():
    Day0.run()
    Day1.run()
    Day2.run()
    Day3.run()
    Day4.run()
    Day5.run()
    Day6.run()
    Day7.run()
    Day8.run()
    Day9.run()
    Day10.run()
    Day11.run()
    Day12.run()
    Day13.run()
    Day14.run()
    Day15.run()
    Day16.run()
    Day17.run()
    Day18.run()
    Day19.run()
예제 #2
0
 def test_is_valid_abbceffg(self):
     self.assertFalse(Day11.is_valid_password("abbceffg"))
예제 #3
0
 def test_is_valid_hijklmmn(self):
     self.assertFalse(Day11.is_valid_password("hijklmmn"))
예제 #4
0
 def test_next_after_ghijklmn(self):
     self.assertEqual("ghjaabcc", Day11.next_password("ghijklmn"))
예제 #5
0
 def test_next_after_abcdefgh(self):
     self.assertEqual("abcdffaa", Day11.next_password("abcdefgh"))
예제 #6
0
 def test_is_valid_ghjaabcc(self):
     self.assertTrue(Day11.is_valid_password("ghjaabcc"))
예제 #7
0
 def test_is_valid_abcdffaa(self):
     self.assertTrue(Day11.is_valid_password("abcdffaa"))
예제 #8
0
 def test_is_valid_abbceffg(self):
     self.assertFalse(Day11.is_valid_password("abbceffg"))
예제 #9
0
 def test_is_valid_hijklmmn(self):
     self.assertFalse(Day11.is_valid_password("hijklmmn"))
예제 #10
0
 def test_next_after_ghijklmn(self):
     self.assertEqual("ghjaabcc", Day11.next_password("ghijklmn"))
예제 #11
0
 def test_next_after_abcdefgh(self):
     self.assertEqual("abcdffaa", Day11.next_password("abcdefgh"))
예제 #12
0
 def test_is_valid_ghjaabcc(self):
     self.assertTrue(Day11.is_valid_password("ghjaabcc"))
예제 #13
0
 def test_is_valid_abcdffaa(self):
     self.assertTrue(Day11.is_valid_password("abcdffaa"))