tests add to namespace sls (#464)

This commit is contained in:
Dhanya Thattil authored and GitHub committed 2022-05-20 15:41:37 +02:00
1 parent c7ba79644a
commit f5745fcf18
44 files changed
+350 -228

No files matched your search

+4 -2
View File
@@ -5,9 +5,9 @@
#include "SharedMemory.h"
#include "CtbConfig.h"
using namespace sls;
#include <fstream>
namespace sls {
TEST_CASE("Default construction"){
static_assert(sizeof(CtbConfig) == 360); // 18*20
@@ -56,4 +56,6 @@ TEST_CASE("Move CtbConfig "){
c1.setDacName(3, "yetanothername");
CtbConfig c2(std::move(c1));
REQUIRE(c2.getDacName(3) == "yetanothername");
}
}
} // namespace sls