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 17360 additions and 27117 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
// Copyright (2019-2024) Paul Scherrer Institute
#include <catch2/catch.hpp>
#include <catch2/catch_all.hpp>
#include "../image_analysis/Regression.h"
@@ -14,6 +14,6 @@ TEST_CASE("Regression") {
y[i] = 7 * i + 5;
}
auto reg = regression(x, y);
REQUIRE(reg.intercept == Approx(5.0));
REQUIRE(reg.slope == Approx(7.0));
REQUIRE(reg.intercept == Catch::Approx(5.0));
REQUIRE(reg.slope == Catch::Approx(7.0));
}