I suggest `testing::Values(CV_8U, CV_32F)`