TST: Aseert check values for older test_gray2rgb case

This commit is contained in:
Pratap Vardhan
2015-11-16 12:49:27 +05:30
parent aadb2cd0ff
commit bb3bd34686
+2
View File
@@ -439,6 +439,8 @@ def test_gray2rgb():
assert_equal(y.shape, (3, 1, 3))
assert_equal(y.dtype, x.dtype)
assert_equal(y[..., 0], x)
assert_equal(y[0, 0, :], [0, 0, 0])
x = np.array([[0, 128, 255]], dtype=np.uint8)
z = gray2rgb(x)