From 548eede4afba34dc2a42e5b0ed85375ad8350d33 Mon Sep 17 00:00:00 2001 From: thibault allenet <thibault.allenet@cea.fr> Date: Mon, 15 Jan 2024 15:31:05 +0000 Subject: [PATCH] Add test cases for double and char --- unit_tests/Tests_Utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_tests/Tests_Utils.cpp b/unit_tests/Tests_Utils.cpp index 1bd6490..d2a80c4 100644 --- a/unit_tests/Tests_Utils.cpp +++ b/unit_tests/Tests_Utils.cpp @@ -24,9 +24,9 @@ cv::Mat createRandomMat(int rows, int cols) { // TEMPLATE_TEST_CASE("Opencv Utils", "[Utils][OpenCV]", char, unsigned char, short, unsigned short, int, float, double) { // TODO : perform test for char and double -TEMPLATE_TEST_CASE("Opencv Utils", "[Utils][OpenCV]", unsigned char, short, unsigned short, int, float) { +TEMPLATE_TEST_CASE("Opencv Utils", "[Utils][OpenCV]", signed char, unsigned char, short, unsigned short, int, float, double) { - constexpr int num_test_matrices = 1000; + constexpr int num_test_matrices = 50; SECTION("Test create tensor from opencv and convert to cpu") { // Generate random cv::mat -- GitLab