mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-09 05:50:43 +02:00

* reading moench and raw files * read mythen3 files * read multiport mythen3 * delete .vscode and .env.dev --------- Co-authored-by: Bechir <bechir.brahem420@gmail.com>
16 lines
470 B
C++
16 lines
470 B
C++
#include <catch2/catch_test_macros.hpp>
|
|
#include <filesystem>
|
|
#include <fstream>
|
|
|
|
#include "test_config.hpp"
|
|
|
|
TEST_CASE("Test suite can find data assets") {
|
|
auto fpath = test_data_path() / "numpy" / "test_numpy_file.npy";
|
|
REQUIRE(std::filesystem::exists(fpath));
|
|
}
|
|
|
|
TEST_CASE("Test suite can open data assets") {
|
|
auto fpath = test_data_path() / "numpy" / "test_numpy_file.npy";
|
|
auto f = std::ifstream(fpath, std::ios::binary);
|
|
REQUIRE(f.is_open());
|
|
} |