Catch2 tests for the C-RED 2 utility helpers. More...

Go to the source code of this file.
Namespaces | |
| namespace | libXWCTest |
| Namespace for all libXWC tests. | |
| namespace | libXWCTest::cred2CtrlTest |
Namespace for cred2Ctrl lifecycle unit tests. | |
Functions | |
| libXWCTest::cred2CtrlTest::TEST_CASE ("cred2Ctrl utility helpers clean CLI responses", "[cred2Utils]") | |
Verify cred2CleanResponse() strips prompts and trailing line endings. | |
| libXWCTest::cred2CtrlTest::TEST_CASE ("cred2Ctrl utility helpers parse float responses", "[cred2Utils]") | |
Verify cred2ParseFloat() accepts valid values and rejects non-numeric responses. | |
| libXWCTest::cred2CtrlTest::TEST_CASE ("cred2Ctrl utility helpers parse float-vector responses", "[cred2Utils]") | |
Verify cred2ParseFloatVector() enforces both parsing and element-count expectations. | |
| libXWCTest::cred2CtrlTest::TEST_CASE ("cred2Ctrl utility helpers parse range responses", "[cred2Utils]") | |
Verify cred2ParseRange() extracts the encoded bounds from valid responses. | |
| libXWCTest::cred2CtrlTest::TEST_CASE ("cred2Ctrl utility helpers parse boolean responses", "[cred2Utils]") | |
Verify cred2ParseBool() translates textual on/off responses into booleans. | |
| libXWCTest::cred2CtrlTest::TEST_CASE ("cred2Ctrl utility helpers parse crop responses", "[cred2Utils]") | |
Verify cred2ParseCropState() unpacks the enabled flag and ROI bounds. | |
| libXWCTest::cred2CtrlTest::TEST_CASE ("cred2Ctrl utility helpers format ROI commands", "[cred2Utils]") | |
| Verify the C-RED 2 ROI conversion helpers translate between center/size and corner commands. | |
Catch2 tests for the C-RED 2 utility helpers.
Definition in file cred2Utils_test.cpp.