def test_not_connected_place_test(): game = Game() game.load("games/DemoGame.xml") assert game.goto("town") == "Cannot go to town"
def test_search_place_empty(): game = Game() game.load("games/SearchTest.xml") game.goto("sea") assert game.search() == "Found nothing"
def test_not_place_test(): game = Game() game.load("games/DemoGame.xml") assert game.goto("hell") == "Cannot go to hell"
def test_basic_go_test(): game = Game() game.load("games/DemoGame.xml") assert game.goto("sEa") == "You go to sEa"