v1.0.0_rc.11
This commit is contained in:
@@ -182,16 +182,15 @@ TEST_CASE("JFJochBrokerParser_ParseFacilityConfiguration") {
|
||||
{
|
||||
"cfg": {
|
||||
"source_name": "Swiss Light Source",
|
||||
"source_type": "XFEL",
|
||||
"source_name_short": "SLS",
|
||||
"instrument_name": "X06SA VESPA",
|
||||
"instrument_name_short": "VESPA",
|
||||
"pedestal_g0_frames": 5000,
|
||||
"pedestal_g1_frames": 333,
|
||||
"pedestal_g2_frames": 333,
|
||||
"frame_time_us": 0.0012,
|
||||
"count_time_us": "950 us",
|
||||
"spot_finding_period_us": " 2 ms",
|
||||
"preview_period_us": "1 s",
|
||||
"frame_time": 0.0012,
|
||||
"count_time": "950 us",
|
||||
"detector_ipv4": "10.10.25.0"
|
||||
}
|
||||
}
|
||||
@@ -200,6 +199,7 @@ TEST_CASE("JFJochBrokerParser_ParseFacilityConfiguration") {
|
||||
DiffractionExperiment x(DetectorGeometry(8));
|
||||
ParseFacilityConfiguration(j, "cfg", x);
|
||||
REQUIRE(x.GetSourceName() == "Swiss Light Source");
|
||||
REQUIRE(x.GetSourceType() == "XFEL");
|
||||
REQUIRE(x.GetSourceNameShort() == "SLS");
|
||||
REQUIRE(x.GetInstrumentName() == "X06SA VESPA");
|
||||
REQUIRE(x.GetInstrumentNameShort() == "VESPA");
|
||||
|
||||
Reference in New Issue
Block a user