Ejemplo n.º 1
0
 def test_get_indices_fails(self, element, array, error):
     with pytest.raises(error):
         ListOperations.get_indices(element, array)
Ejemplo n.º 2
0
 def test_get_indices(self, element, array, result):
     assert ListOperations.get_indices(element, array) == result