mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 09:15:54 +01:00
tests for Result
This commit is contained in:
@@ -8,4 +8,5 @@ target_sources(tests PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test-Sockets.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test-FixedCapacityContainer.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test-ToString.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test-TypeTraits.cpp
|
||||
)
|
||||
10
slsSupportLib/tests/test-TypeTraits.cpp
Normal file
10
slsSupportLib/tests/test-TypeTraits.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "catch.hpp"
|
||||
#include "TypeTraits.h"
|
||||
#include <vector>
|
||||
#include <array>
|
||||
|
||||
TEST_CASE("something", "[n3]"){
|
||||
|
||||
CHECK(sls::is_container<std::vector<int>>::value == true);
|
||||
CHECK(sls::is_container<std::array<double, 3>>::value == true);
|
||||
}
|
||||
Reference in New Issue
Block a user