def test_find_new_pos_right_edge(): new_board = pacman.find_new_pos(["..", ".<", ".."]) eq_(new_board, (0, 1))
def test_find_new_pos_up(): new_board = pacman.find_new_pos(["..", ".V", ".."]) eq_(new_board, (1, 0))
def test_find_new_pos_down(): new_board = pacman.find_new_pos(["..", ".A", ".."]) eq_(new_board, (1, 2))
def test_find_new_pos_left(): new_board = pacman.find_new_pos(["..", ".>", ".."]) eq_(new_board, (0, 1))
def test_find_new_pos_right(): new_board = pacman.find_new_pos(["..", "<.", ".."]) eq_(new_board, (1, 1))
def test_find_new_pos_down_edge(): new_board = pacman.find_new_pos(["..", "..", "A."]) eq_(new_board, (0, 0))
def test_find_new_pos_up_edge(): new_board = pacman.find_new_pos(["V.", "..", ".."]) eq_(new_board, (0, 2))
def test_find_new_pos_left_edge(): new_board = pacman.find_new_pos(["..", ">.", ".."]) eq_(new_board, (1, 1))