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:
Dhanya Thattil
2022-05-23 16:17:32 +02:00
committed by GitHub
parent 8656eeec25
commit d61741c28b
44 changed files with 360 additions and 236 deletions

View File

@ -3,7 +3,7 @@
#include "catch.hpp"
#include "sls/Pattern.h"
using sls::Pattern;
namespace sls {
TEST_CASE("Pattern is default constructable and has zeroed fields") {
Pattern p;
@ -27,3 +27,5 @@ TEST_CASE("Compare patterns") {
p1.data()->word[500] = 1;
REQUIRE_FALSE(p == p1);
}
} // namespace sls