def test_validate_array_slices_fail(self): arr = [np.random.rand(3, 3)] + [np.random.rand(5, 5) ] + [np.array([[1, 2], [1, 2, 3]])] with pytest.raises(ValueError): validate_array_slices(arr, 'float')
def test_validate_array_slices_fail(self): arr = [np.random.rand(3, 3)] + [np.random.rand(5, 5)] + [np.array([[1, 2],[1, 2, 3]])] with pytest.raises(ValueError): validate_array_slices(arr, 'float')
def test_validate_array_slices(self): arr = [np.random.rand(3, 3)] + [np.random.rand(5, 5) ] + [np.random.rand(7, 7)] validate_array_slices(arr, 'float')
def test_validate_array_slices(self): arr = [np.random.rand(3, 3)] + [np.random.rand(5, 5)] + [np.random.rand(7, 7)] validate_array_slices(arr, 'float')