def test_invert_colors_numpy_None(): with pytest.raises(ValueError): algo.inv_gray_levels(None)
def test_invert_colors_numpy_uint8(): with pytest.raises(TypeError): algo.inv_gray_levels(null_matrix)
def test_inv_gray_levels_tuuint8(): with pytest.raises(TypeError): funcimg.inv_gray_levels(np.zeros((2, 2), dtype=np.float))
def test_invert_colors_numpy_Aray(): with pytest.raises(TypeError): algo.inv_gray_levels(1)
def test_inv_gray_levels_tuArray(): with pytest.raises(AttributeError): funcimg.inv_gray_levels(1)