v1.0.0-rc.72
This commit is contained in:
@@ -348,11 +348,15 @@ TEST_CASE("DiffractionExperiment_ZMQPreview", "[DiffractionExperiment]") {
|
||||
|
||||
TEST_CASE("DiffractionExperiment_SpaceGroup", "[DiffractionExperiment]") {
|
||||
DiffractionExperiment x;
|
||||
REQUIRE(!x.GetGemmiSpaceGroup());
|
||||
REQUIRE(x.GetCrystalSystem() == gemmi::CrystalSystem::Monoclinic);
|
||||
REQUIRE_THROWS(x.SpaceGroupNumber(-1));
|
||||
REQUIRE_THROWS(x.SpaceGroupNumber(500));
|
||||
REQUIRE_NOTHROW(x.SpaceGroupNumber(0));
|
||||
REQUIRE_NOTHROW(x.SpaceGroupNumber(200));
|
||||
REQUIRE(x.GetSpaceGroupNumber() == 200);
|
||||
REQUIRE_NOTHROW(x.SpaceGroupNumber(96));
|
||||
REQUIRE(x.GetSpaceGroupNumber() == 96);
|
||||
REQUIRE(x.GetCrystalSystem() == gemmi::CrystalSystem::Tetragonal);
|
||||
REQUIRE(x.GetGemmiSpaceGroup());
|
||||
REQUIRE(x.GetSpaceGroupName() == "P43212");
|
||||
}
|
||||
|
||||
TEST_CASE("DiffractionExperiment_SampleName", "[DiffractionExperiment]") {
|
||||
|
||||
Reference in New Issue
Block a user