Changeset 586 for library/tests
- Timestamp:
- 08/27/09 15:39:35 (15 years ago)
- Location:
- library/tests
- Files:
-
- 1 added
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/CMakeLists.txt
r583 r586 39 39 40 40 # using UnitTest++ 41 add_executable(testsuite datalink_test.cpp egiw_test.cpp emix_test.cpp epdf_test.cpp logger_test.cpp merger_test.cpp41 add_executable(testsuite datalink_test.cpp egiw_test.cpp emix_test.cpp epdf_test.cpp logger_test.cpp LQG_test.cpp merger_test.cpp 42 42 mpdf_test.cpp randun_test.cpp rectangular_support_test.cpp rv_test.cpp shared_ptr_test.cpp square_mat_test.cpp testsuite.cpp user_info_test.cpp) 43 43 target_link_libraries(testsuite testutil unittest) -
library/tests/rv_test.cpp
r584 r586 142 142 join.add(tmp); 143 143 144 CHECK_EQUAL(unique(join._ids()), vec_2(a.id(0), b.id(0))); 144 CHECK_EQUAL(unique(join._ids()), vec_2(a.id(0), b.id(0))); // find only ids of a and b 145 CHECK_EQUAL(unique_complement(join._ids(), vec_1(a.id(0))), vec_1(b.id(0))); // complemnet of a in previous is b 145 146 }