catch2: download with CMake + update to recent Catch2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Copyright (2019-2023) Paul Scherrer Institute
|
||||
|
||||
#include <catch2/catch.hpp>
|
||||
#include <catch2/catch_all.hpp>
|
||||
|
||||
#include "../receiver/JFJochReceiverTest.h"
|
||||
#include "../acquisition_device/HLSSimulatedDevice.h"
|
||||
@@ -442,10 +442,10 @@ TEST_CASE("JFJochReceiverTest_PedestalG0_StorageCell", "[JFJochReceiver]") {
|
||||
JFModulePedestal out_pedestal_2 = output.pedestal_result[2];
|
||||
JFModulePedestal out_pedestal_3 = output.pedestal_result[3];
|
||||
|
||||
REQUIRE(out_pedestal_0.Mean() == Approx(5670));
|
||||
REQUIRE(out_pedestal_1.Mean() == Approx(4560));
|
||||
REQUIRE(out_pedestal_2.Mean() == Approx(3450));
|
||||
REQUIRE(out_pedestal_3.Mean() == Approx(2000));
|
||||
REQUIRE(out_pedestal_0.Mean() == Catch::Approx(5670));
|
||||
REQUIRE(out_pedestal_1.Mean() == Catch::Approx(4560));
|
||||
REQUIRE(out_pedestal_2.Mean() == Catch::Approx(3450));
|
||||
REQUIRE(out_pedestal_3.Mean() == Catch::Approx(2000));
|
||||
}
|
||||
|
||||
TEST_CASE("JFJochReceiverTest_PedestalG1_NoFrames", "[JFJochReceiver]") {
|
||||
|
||||
Reference in New Issue
Block a user