9 #include <doctest/doctest.h> 19 bool IsFloatIterFunc(T iter)
27 TEST_CASE(
"IsFloatIterFuncTest")
29 std::vector<float> fArray;
30 CHECK(IsFloatIterFunc(fArray.begin()) ==
true);
31 CHECK(IsFloatIterFunc(fArray.cbegin()) ==
true);
33 std::vector<double> dArray;
34 CHECK(IsFloatIterFunc(dArray.begin()) ==
true);
36 std::vector<int> iArray;
37 CHECK(IsFloatIterFunc(iArray.begin()) ==
false);
40 CHECK(IsFloatIterFunc(&floats[0]) ==
true);
43 CHECK(IsFloatIterFunc(&ints[0]) ==
false);
void IgnoreUnused(Ts &&...)
TEST_SUITE("QuantizeHelper")