mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
tests add to namespace sls (#466)
* tests add to namespace sls * fixed for tests * finish up namespace sls for tests
This commit is contained in:
@ -6,10 +6,10 @@
|
||||
#include "sls/TypeTraits.h"
|
||||
#include <string>
|
||||
|
||||
using sls::Result;
|
||||
namespace sls {
|
||||
|
||||
TEST_CASE("Result looks and behaves like a standard container") {
|
||||
REQUIRE(sls::is_container<Result<int>>::value == true);
|
||||
REQUIRE(is_container<Result<int>>::value == true);
|
||||
}
|
||||
|
||||
TEST_CASE("Default construction is possible and gives an empty result") {
|
||||
@ -195,3 +195,5 @@ TEST_CASE("String conversions") {
|
||||
REQUIRE(ToString(res4) ==
|
||||
"[{one: 1}, {one: 1, three: 3, two: 2}, {one: 1}]");
|
||||
}
|
||||
|
||||
} // namespace sls
|
||||
|
Reference in New Issue
Block a user