test: Add a ColorSpace test

Add a test for the ColorSpace class that exercises the toString() and
fromString() functions.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2022-08-23 17:36:10 +03:00
parent fbfdaa2d20
commit 555d27ce58
2 changed files with 106 additions and 0 deletions

View file

@ -26,6 +26,7 @@ subdir('v4l2_subdevice')
subdir('v4l2_videodevice')
public_tests = [
['color-space', 'color-space.cpp'],
['geometry', 'geometry.cpp'],
['public-api', 'public-api.cpp'],
['signal', 'signal.cpp'],