v1.0.0-rc.36
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
#include "../receiver/ImageMetadata.h"
|
||||
|
||||
TEST_CASE("ImageMetadata_ROI") {
|
||||
DetectorGeometry geom(8,2,8,36, true);
|
||||
DiffractionExperiment experiment(geom);
|
||||
DetectorGeometryModular geom(8,2,8,36, true);
|
||||
DiffractionExperiment experiment(DetJF(geom));
|
||||
|
||||
experiment.ROI().SetROI(ROIDefinition{.boxes = {ROIBox("roi1",1,5,2,8)}});
|
||||
|
||||
@@ -35,10 +35,10 @@ TEST_CASE("ImageMetadata_ROI") {
|
||||
}
|
||||
|
||||
TEST_CASE("ImageMetadata_ROI_flipped_module") {
|
||||
DetectorGeometry geom({DetectorModuleGeometry(45,1811,
|
||||
DetectorGeometryModular geom({DetectorModuleGeometry(45,1811,
|
||||
DetectorModuleGeometry::Direction::Yneg,
|
||||
DetectorModuleGeometry::Direction::Xpos)});
|
||||
DiffractionExperiment experiment(geom);
|
||||
DiffractionExperiment experiment(DetJF(geom));
|
||||
|
||||
experiment.ROI().SetROI(ROIDefinition{.boxes = {ROIBox("roi1",1,5,2,8)}});
|
||||
|
||||
@@ -66,8 +66,7 @@ TEST_CASE("ImageMetadata_ROI_flipped_module") {
|
||||
}
|
||||
|
||||
TEST_CASE("ImageMetadata_PulseID_mismatch") {
|
||||
DetectorGeometry geom(8,2,8,36, true);
|
||||
DiffractionExperiment experiment(geom);
|
||||
DiffractionExperiment experiment(DetJF4M());
|
||||
experiment.PulsedSource(true);
|
||||
|
||||
ImageMetadata metadata(experiment);
|
||||
|
||||
Reference in New Issue
Block a user