def testEclideanDistance(self): p = (3, 4) q = (5, 6) a = math.sqrt(8) d = cp.euclideanDistance(p, q) self.assertEqual(d, a)