

def test_simple_win_loop(self):
    kp._setNextKey(kp.UP)
    g = Game(goal=4, size=2, clear_screen=False)
    g.board.cells = [[2, 0], [2, 0]]
    self.assertEqual(4, self.loop())

dataset/ETHPy150Open bfontaine/term2048/tests/test_game.py TestGame.test_simple_win_loop/VarMisuse@62/71 `g`->`self`