fixed order

This commit is contained in:
Erik Frojdh
2019-10-01 17:29:36 +02:00
parent c6fd13e49c
commit cfb017f66a
2 changed files with 21 additions and 10 deletions

View File

@ -135,3 +135,9 @@ TEST_CASE("string to detectorType"){
REQUIRE(StringTo<dt>("Gotthard2") == dt::GOTTHARD2);
}
TEST_CASE("vec"){
using rs = slsDetectorDefs::runStatus;
std::vector<rs> vec{rs::ERROR, rs::IDLE};
REQUIRE(ToString(vec) == "[error, idle]");
}