Improve release/versioning of Jungfraujoch repository

This commit is contained in:
2024-05-15 11:29:01 +02:00
parent 3693cae440
commit 91fd44bff7
282 changed files with 17363 additions and 27120 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
// Copyright (2019-2023) Paul Scherrer Institute
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include "../image_analysis/StrongPixelSet.h"
TEST_CASE("DiffractionSpot_AddOperator","[StrongPixelSet]") {
@@ -12,8 +12,8 @@ TEST_CASE("DiffractionSpot_AddOperator","[StrongPixelSet]") {
REQUIRE(spot2.Count() == 5);
REQUIRE(spot1.Count() == 15);
REQUIRE(spot1.RawCoord().x == Approx((4*10+3*5)/15.0));
REQUIRE(spot1.RawCoord().y == Approx((1*10+4*5)/15.0));
REQUIRE(spot1.RawCoord().x == Catch::Approx((4*10+3*5)/15.0));
REQUIRE(spot1.RawCoord().y == Catch::Approx((1*10+4*5)/15.0));
REQUIRE(spot1.MaxCount() == 10);
REQUIRE(spot1.PixelCount() == 2);
}
@@ -44,8 +44,8 @@ TEST_CASE("StrongPixelSet_BuildSpots","[StrongPixelSet]") {
REQUIRE(spots[0].Count() == 9.0f);
REQUIRE(spots[0].PixelCount() == 9);
REQUIRE(spots[0].RawCoord().x == Approx(7.0));
REQUIRE(spots[0].RawCoord().y == Approx(105.0));
REQUIRE(spots[0].RawCoord().x == Catch::Approx(7.0));
REQUIRE(spots[0].RawCoord().y == Catch::Approx(105.0));
}
/*