예제 #1
0
 def test_day18_1_5(self):
     e = day18.Dungeon(day18.string2tree(EEE))
     self.assertEqual(e.minSteps(), 81)
예제 #2
0
 def test_day18_1_4(self):
     d = day18.Dungeon(day18.string2tree(DDD))
     self.assertEqual(d.minSteps(), 136)
예제 #3
0
 def test_day18_1_2(self):
     b = day18.Dungeon(day18.string2tree(BBB))
     self.assertEqual(b.minSteps(), 86)
예제 #4
0
 def test_day18_1_3(self):
     c = day18.Dungeon(day18.string2tree(CCC))
     self.assertEqual(c.minSteps(), 132)
예제 #5
0
 def test_day18_1_1(self):
     a = day18.Dungeon(day18.string2tree(AAA))
     self.assertEqual(a.minSteps(), 8)