def test_progress_algorithm_0b_1r(self): fbList = [[0,1], [0,1]] result = Juego.progress_algorithm(self.guessList, fbList) self.assertEqual(result, 2056)
def test_progress_algorithm_0b_0r(self): fbList = [[0,0], [0,0]] result = Juego.progress_algorithm(self.guessList, fbList) self.assertEqual(result, 5067)
def test_progress_algorithm_2b_2r(self): fbList = [[2,2], [2,2]] result = Juego.progress_algorithm(self.guessList, fbList) self.assertEqual(result, 1243)
def test_progress_algorithm_3b_0r(self): fbList = [[3,0], [3,0]] result = Juego.progress_algorithm(self.guessList, fbList) self.assertEqual(result, 1034)
def test_progress_algorithm_1b_3r(self): fbList = [[1,3], [1,3]] result = Juego.progress_algorithm(self.guessList, fbList) self.assertEqual(result, 1342)