openmv/scripts/unittest/script/01-lab_to_rgb.py
Kwabena W. Agyeman b3f6d4698b Fix unit tests
2020-10-24 12:34:58 -07:00

5 lines
159 B
Python

def unittest(data_path, temp_path):
import image
rgb = image.lab_to_rgb((74, -38, 30))
return (rgb[0] == 123 and rgb[1] == 199 and rgb[2] == 123)