

def test_no_eat_own_food(self):
    test_start = ' ######\n                #0 . #\n                #.  1#\n                ###### '
    number_bots = 2
    universe = CTFUniverse.create(test_start, number_bots)
    universe.move_bot(1, north)
    game_state = universe.move_bot(1, west)
    self.assertCountEqual(game_state.food_list, [(3, 1), (1, 2)])
    self.assertEqual(game_state['bot_moved'][0], {
        'bot_id': 1,
        'old_pos': (4, 1),
        'new_pos': (3, 1),
    })

dataset/ETHPy150Open ASPP/pelita/test/test_datamodel.py TestCTFUniverseRules.test_no_eat_own_food/VarMisuse@53/107 `universe`->`game_state`