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