Ejemplo n.º 1
0
 def test_chunk_list_fails(self, array, size, error):
     with pytest.raises(error):
         ListOperations.chunk_list(array, size)
Ejemplo n.º 2
0
 def test_chunk_list(self, array, size, result):
     assert ListOperations.chunk_list(array, size) == result