mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-04-30 02:10:02 +02:00
Merge branch 'developer' of github.com:slsdetectorgroup/aare into developer
This commit is contained in:
commit
129e7e9f9d
@ -6,6 +6,7 @@ package:
|
||||
|
||||
|
||||
|
||||
|
||||
source:
|
||||
path: ..
|
||||
|
||||
|
@ -18,6 +18,7 @@ build = "cp{311,312,313}-manylinux_x86_64"
|
||||
|
||||
|
||||
|
||||
|
||||
[tool.scikit-build]
|
||||
build.verbose = true
|
||||
cmake.build-type = "Release"
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
using aare::ClusterFile;
|
||||
|
||||
|
||||
TEST_CASE("Read one frame from a a cluster file", "[.files]") {
|
||||
//We know that the frame has 97 clusters
|
||||
auto fpath = test_data_path() / "clust" / "single_frame_97_clustrers.clust";
|
||||
@ -22,6 +23,7 @@ TEST_CASE("Read one frame from a a cluster file", "[.files]") {
|
||||
REQUIRE(clusters.frame_number() == 135);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("Read one frame using ROI", "[.files]") {
|
||||
//We know that the frame has 97 clusters
|
||||
auto fpath = test_data_path() / "clust" / "single_frame_97_clustrers.clust";
|
||||
@ -50,9 +52,11 @@ TEST_CASE("Read one frame using ROI", "[.files]") {
|
||||
}
|
||||
|
||||
|
||||
|
||||
TEST_CASE("Read clusters from single frame file", "[.files]") {
|
||||
|
||||
auto fpath = test_data_path() / "clust" / "single_frame_97_clustrers.clust";
|
||||
|
||||
REQUIRE(std::filesystem::exists(fpath));
|
||||
|
||||
SECTION("Read fewer clusters than available") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user