mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-01 13:22:24 +02:00
Add test stub for BinaryReader
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "test_BinaryReader.cpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#include <BinaryReader.hpp>
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(BinaryReader, basic_interaction) {
|
||||
// TODO: Write some real tests.
|
||||
auto detector_folder = "test_device";
|
||||
auto module_name = "M1";
|
||||
BinaryReader reader(detector_folder, module_name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user