test: Add unit tests for the BayerFormat class
Test all of the present methods including the newly implemented `fromV4L2PixelFormat`, as well as the new operators `==/!=`. Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@posteo.net> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
d121f6c83f
commit
e09c487b97
2 changed files with 211 additions and 0 deletions
|
@ -27,6 +27,7 @@ public_tests = [
|
|||
]
|
||||
|
||||
internal_tests = [
|
||||
['bayer-format', 'bayer-format.cpp'],
|
||||
['byte-stream-buffer', 'byte-stream-buffer.cpp'],
|
||||
['camera-sensor', 'camera-sensor.cpp'],
|
||||
['delayed_contols', 'delayed_contols.cpp'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue