v1.0.0-rc.107 #12
@@ -1108,7 +1108,7 @@ TEST_CASE("JFJochReader_MissingEntries", "[HDF5][Full]") {
|
||||
REQUIRE(dataset->spot_count_indexed.size() == 2);
|
||||
|
||||
CHECK(dataset->b_factor[0] == Catch::Approx(123.45));
|
||||
CHECK(dataset->b_factor[1] == 0.0);
|
||||
CHECK(std::isnan(dataset->b_factor[1]));
|
||||
CHECK(dataset->spot_count_indexed[0] == 56);
|
||||
CHECK(dataset->spot_count_indexed[1] == 0);
|
||||
|
||||
@@ -1123,7 +1123,8 @@ TEST_CASE("JFJochReader_MissingEntries", "[HDF5][Full]") {
|
||||
|
||||
REQUIRE_NOTHROW(reader_image_2 = reader.LoadImage(1));
|
||||
REQUIRE(reader_image_2);
|
||||
CHECK(!reader_image_2->ImageData().spot_count_indexed);
|
||||
CHECK(reader_image_2->ImageData().spot_count_indexed.has_value());
|
||||
CHECK(reader_image_2->ImageData().spot_count_indexed.value() == 0);
|
||||
}
|
||||
remove("test96_master.h5");
|
||||
remove("test96_data_000001.h5");
|
||||
|
||||
Reference in New Issue
Block a user