Skip to content
Snippets Groups Projects

Feature/conceptcheck

Merged Carsten Gräser requested to merge feature/conceptcheck into master
4 files
+ 496
0
Compare changes
  • Side-by-side
  • Inline
Files
4
  • 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/.
@@ -25,6 +25,9 @@ dune_add_test(NAME check_fvector_size_fail2
dune_add_test(SOURCES classnametest.cc
LINK_LIBRARIES dunecommon)
dune_add_test(SOURCES concept.cc
LINK_LIBRARIES dunecommon)
dune_add_test(SOURCES conversiontest.cc)
dune_add_test(SOURCES diagonalmatrixtest.cc
@@ -149,3 +152,9 @@ if(${LAPACK_FOUND})
LINK_LIBRARIES dunecommon
SKIP_ON_77)
endif()
install(
FILES
testsuite.hh
collectorstream.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/common/test)
Loading