def testSubtractInDiffImages(self): self.assertTrue(np.allclose(pbc_vector_diff(A_VEC, C_VEC, PBC_BOX), GOOD_A_MINUS_C))
def testSubtractInSameImage(self): self.assertTrue(np.allclose(pbc_vector_diff(A_VEC, B_VEC, PBC_BOX), GOOD_A_MINUS_B))