mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-06 21:00:41 +02:00
8 lines
315 B
C++
8 lines
315 B
C++
#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");
|
|
} |