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