[concept][test] Add test for concept checking facility
This also adds two test utilities from dune-functions that are both used in this test. * TestSuite: A helper class to organize checks in tests in a unified way and more readable way. * CollectorStream: A simple stream that allows to collect data and forward it to its creator using a callback. Used by testsuite.hh Since can also be used for tests in other modules they are installed in dune/common/test. However, CollectorStream is not strictly related to tests and may also be moved directly to dune/common/.
Showing
- dune/common/test/CMakeLists.txt 9 additions, 0 deletionsdune/common/test/CMakeLists.txt
- dune/common/test/collectorstream.hh 81 additions, 0 deletionsdune/common/test/collectorstream.hh
- dune/common/test/concept.cc 200 additions, 0 deletionsdune/common/test/concept.cc
- dune/common/test/testsuite.hh 206 additions, 0 deletionsdune/common/test/testsuite.hh
dune/common/test/collectorstream.hh
0 → 100644
dune/common/test/concept.cc
0 → 100644
dune/common/test/testsuite.hh
0 → 100644
Please register or sign in to comment