2#include <TRestWimpSensitivity.h>
3#include <gtest/gtest.h>
7namespace fs = std::filesystem;
11const auto filesPath = fs::path(__FILE__).parent_path().parent_path() /
"files";
12const auto wimpRml = filesPath /
"wimp.rml";
15 cout <<
"Test files path: " << filesPath << endl;
18 EXPECT_TRUE(fs::is_directory(filesPath));
20 EXPECT_TRUE(!fs::is_empty(filesPath));
23 EXPECT_TRUE(fs::exists(wimpRml));
27 cout <<
"Path: " << wimpRml << endl;
33 EXPECT_TRUE(abs(WS.GetSensitivity(1) - 2.9732007e-39) < 1E-45);