We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fbc43a commit e0d69e1Copy full SHA for e0d69e1
1 file changed
src/tests/TestObjCrystStructureAdapter.hpp
@@ -247,6 +247,17 @@ class TestObjCrystStructureAdapter : public CxxTest::TestSuite
247
}
248
249
250
+ void test_objcryst_inversion_center()
251
+ {
252
+ // verify ObjCryst bug in SpaceGroup.GetInversionCenter is fixed
253
+ ObjCryst::SpaceGroup sg129("P 4/n m m :1");
254
+ const CrystVector_REAL xyzinv = sg129.GetInversionCenter();
255
+ TS_ASSERT_EQUALS(0.25, xyzinv(0));
256
+ TS_ASSERT_EQUALS(0.25, xyzinv(1));
257
+ TS_ASSERT_EQUALS(0.0, xyzinv(2));
258
+ }
259
+
260
261
void test_getEquivalentAtoms()
262
{
263
diffpy::mathutils::EpsilonEqual allclose;
0 commit comments