Skip to content
Snippets Groups Projects
Commit 548eede4 authored by Thibault Allenet's avatar Thibault Allenet
Browse files

Add test cases for double and char

parent a232eaba
Branches data_transformations fix
Tags v0.0.1
No related merge requests found
...@@ -24,9 +24,9 @@ cv::Mat createRandomMat(int rows, int cols) { ...@@ -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) { // TEMPLATE_TEST_CASE("Opencv Utils", "[Utils][OpenCV]", char, unsigned char, short, unsigned short, int, float, double) {
// TODO : perform test for char and 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") { SECTION("Test create tensor from opencv and convert to cpu") {
// Generate random cv::mat // Generate random cv::mat
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment