Beispiel #1
0
def test_3x5_level_to_string():
    level_string = pacman.level_to_string(["...", "...", "...", "...", "..."])

    eq_(level_string, "...\n...\n...\n...\n...\n")
Beispiel #2
0
def test_1x1_level_to_string():
    level_string = pacman.level_to_string(["."])

    eq_(level_string, ".\n")