def test_reachable(self):
        test_layout = (
        """ ##################
            #0#.  .  # .1#   #
            #2#####    ##### #
            #     . #  .  .#3#
            ################## """)
        universe = CTFUniverse.create(test_layout, 4)
        reachable = [universe.reachable([bot.initial_pos]) for bot in universe.bots]
        self.assertTrue(bot.initial_pos in reachable[i] for i, bot in enumerate(universe.bots))
        self.assertTrue(universe.bots[0].initial_pos in dict(reachable[1]))
        self.assertFalse(universe.bots[3].initial_pos in dict(reachable[0]))
        self.assertFalse(universe.bots[0].initial_pos in dict(reachable[3]))
dataset/ETHPy150Open ASPP/pelita/test/test_datamodel.py/TestCTFUniverse.test_reachable/original