Пример #1
0
 def test_set(self):
     pointW = EccPoint(0, 0)
     pointW.set(self.pointS)
     self.assertEqual(pointW, self.pointS)
Пример #2
0
 def test_set(self):
     pointW = EccPoint(0, 0)
     pointW.set(self.pointS)
     self.assertEqual(pointW, self.pointS)
Пример #3
0
 def test_set(self):
     pointW = EccPoint(0, 1, curve="Ed448")
     pointW.set(self.pointG)
     self.assertEqual(pointW.x, self.pointG.x)
     self.assertEqual(pointW.y, self.pointG.y)