def test_iter_encryptionKeysMatch_knownLoopSizes(self):
     ts1 = encryptionkeys.TransformSequence(subject=self.keyPublic1)
     ts2 = encryptionkeys.TransformSequence(subject=self.keyPublic2)
     for i in range(self.loopSize2):
         key1 = next(ts1)
     for i in range(self.loopSize1):
         key2 = next(ts2)
     self.assertEqual(key1, key2)
 def test_iter_encryptionKeys_2_1(self):
     ts = encryptionkeys.TransformSequence(subject=self.keyPublic2)
     for i in range(self.loopSize1):
         key = next(ts)
     self.assertEqual(self.encryptionKey, key)
 def test_iter_keyPublic2_knownLoopSize(self):
     ts = encryptionkeys.TransformSequence(subject=7)
     for i in range(self.loopSize2):
         key = next(ts)
     self.assertEqual(self.keyPublic2, key)