Example #1
0
 def test_recreate_astar_no_path_bug(self):
     m = Map(32,18)
     m.generate_from_ascii("models/maps/TheBlock.txt")
     g1 = GreaserUnit(12, 11, m, CONST.jets)
     g3 = GreaserUnit(15, 11, m, CONST.sharks)
     g4 = GreaserUnit(14, 12, m, CONST.sharks)
     b1 = BruiserUnit(16, 12, m, CONST.sharks)
     s3 = SquabblerUnit(15, 13, m, CONST.sharks)
     g1.valid_moves()
Example #2
0
 def test_recreate_astar_no_path_bug(self):
     m = Map(32, 18)
     m.generate_from_ascii("models/maps/TheBlock.txt")
     g1 = GreaserUnit(12, 11, m, CONST.jets)
     g3 = GreaserUnit(15, 11, m, CONST.sharks)
     g4 = GreaserUnit(14, 12, m, CONST.sharks)
     b1 = BruiserUnit(16, 12, m, CONST.sharks)
     s3 = SquabblerUnit(15, 13, m, CONST.sharks)
     g1.valid_moves()
Example #3
0
 def test_valid_moves(self):
     m = Map(32, 18)
     m.generate_from_ascii("models/maps/32by18.txt")
     g = GreaserUnit(4, 10, m, CONST.jets)
     g.valid_moves()