Changeset 426 for library/tests

Show
Ignore:
Timestamp:
07/23/09 16:57:21 (15 years ago)
Author:
vbarta
Message:

added unit & stress tests for ldmat & chmat (as well as other descendants of square_mat)

Location:
library/tests
Files:
4 added
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/CMakeLists.txt

    r425 r426  
    77link_directories (./unittest-cpp) 
    88 
    9 # Add executable called "helloDemo" that is built from the source files 
    10 # "demo.cxx" and "demo_b.cxx".  The extensions are automatically found. 
     9add_library(testutil mat_checks.cpp mat_checks.h test_util.cpp test_util.h) 
     10target_link_libraries(testutil bdm itpp unittest) 
    1111 
    1212EXEC(chmat_test) 
    1313EXEC(ldmat_test) 
     14 
     15add_executable(square_mat_stress square_mat_stress.cpp) 
     16target_link_libraries(square_mat_stress bdm itpp testutil unittest) 
     17 
    1418EXEC(fsqmat_test) 
    1519EXEC(enorm_test) 
     
    3741 
    3842# using UnitTest++ 
    39 add_executable(testsuite datalink_test.cpp loggers_test.cpp rv_test.cpp testsuite.cpp test_user_info.cpp test_util.cpp test_util.h test_shared_ptr.cpp) 
    40 target_link_libraries(testsuite bdm itpp unittest) 
     43add_executable(testsuite datalink_test.cpp loggers_test.cpp rv_test.cpp square_mat_test.cpp testsuite.cpp test_user_info.cpp test_shared_ptr.cpp) 
     44target_link_libraries(testsuite bdm itpp testutil unittest) 
    4145 
    4246add_subdirectory(tutorial)