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