mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 09:08:00 +02:00
moved test framework
This commit is contained in:
11
tests/src/test-multiDetector.cpp
Normal file
11
tests/src/test-multiDetector.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include "catch.hpp"
|
||||
#include "multiSlsDetector.h"
|
||||
|
||||
#include <iostream>
|
||||
TEST_CASE("Initialize a detector") {
|
||||
multiSlsDetector det(0, true, true);
|
||||
std::cout << "Size: " << det.getNumberOfDetectors() << std::endl;
|
||||
std::cout << "Hostname: " << det.getHostname() << std::endl;
|
||||
REQUIRE(false);
|
||||
|
||||
}
|
Reference in New Issue
Block a user