

def test_inc_score_dont_update_best_score_if_higher(self):
    s = 3
    bs = 80
    i = 2
    self.g.score = s
    self.g.best_score = bs
    self.g.incScore(i)
    self.assertEqual(self.g.score, (s + i))
    self.assertEqual(self.g.best_score, bs)

dataset/ETHPy150Open bfontaine/term2048/tests/test_game.py TestGame.test_inc_score_dont_update_best_score_if_higher/original