-
- Downloads
use `TestSuite` instead of `assert(...)`
`assert(...)` should not be used in tests as it might not be checked at all when building with `-DNDEBUG` This addresses the following compiler warnings from GCC 9: dune/grid/utility/test/structuredgridfactorytest.cc:89:16: warning: unused variable ‘numVertices2d’ [-Wunused-variable] dune/grid/utility/test/structuredgridfactorytest.cc:90:16: warning: unused variable ‘numCubes2d’ [-Wunused-variable] dune/grid/utility/test/structuredgridfactorytest.cc:164:16: warning: unused variable ‘numVertices3d’ [-Wunused-variable] dune/grid/utility/test/structuredgridfactorytest.cc:165:16: warning: unused variable ‘numCubes3d’ [-Wunused-variable]
parent
fce9fc00
No related branches found
No related tags found
Please register or sign in to comment