def test_correctly_distribute_load_among_wookies_example_3(self): fila_de_wookies = FilaDeWookies('4', '7 8 9 10') carga_por_wookie = fila_de_wookies.place_cargas_in_wookies() self.assertEqual(carga_por_wookie, [[7], [8], [9], [10]])
def test_correctly_distribute_load_among_wookies_example_4(self): fila_de_wookies = FilaDeWookies('10', '1 2 3') carga_por_wookie = fila_de_wookies.place_cargas_in_wookies() self.assertEqual(carga_por_wookie, [[1], [2], [3], [], [], [], [], [], [], []])
def test_correctly_distribute_load_among_wookies_example_2(self): fila_de_wookies = FilaDeWookies('3', '4 4 1 3 5 2 6 7 8 9') carga_por_wookie = fila_de_wookies.place_cargas_in_wookies() self.assertEqual(carga_por_wookie, [[4, 3, 2], [4], [1]])