Relative Content

Tag Archive for c++c++11vectorcatch-unit-test

Test floating point std::vector with C++ Catch

Is there any possibility in Catch C++ Unit test framework to compare std::vectors that are floating point type based? I know that I can compare size of both containers and each element (using Approx) but this is messy.

Test floating point std::vector with C++ Catch

Is there any possibility in Catch C++ Unit test framework to compare std::vectors that are floating point type based? I know that I can compare size of both containers and each element (using Approx) but this is messy.