add dataspan

This commit is contained in:
Bechir Braham
2024-03-20 16:27:22 +01:00
parent c1ddb84bc0
commit e04d1e28f9
8 changed files with 195 additions and 4 deletions

8
core/test/defs.test.cpp Normal file
View File

@ -0,0 +1,8 @@
#include <catch2/catch_test_macros.hpp>
#include <string>
#include "aare/defs.hpp"
TEST_CASE("Enum to string conversion"){
//By the way I don't think the enum string conversions should be in the defs.hpp file
//but let's use this to show a test
REQUIRE(toString(DetectorType::Jungfrau) == "Jungfrau");
}