File size: 209 Bytes
051ea30
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import cv2
from app import black_and_white

def test_black_and_white():
    image = cv2.imread("test_image.jpg")
    result = black_and_white(image)
    assert result.shape == (image.shape[0], image.shape[1])