Exemple #1
0
 def testSubtractInDiffImages(self):
     self.assertTrue(np.allclose(pbc_vector_diff(A_VEC, C_VEC, PBC_BOX), GOOD_A_MINUS_C))
Exemple #2
0
 def testSubtractInSameImage(self):
     self.assertTrue(np.allclose(pbc_vector_diff(A_VEC, B_VEC, PBC_BOX), GOOD_A_MINUS_B))