def test_text_to_text(self): text = "all ignorance toboggens " points = encrypt.text_to_points(text) text2 = decrypt.points_to_text(points) self.assertEqual(text, text2)
def test_full_encryption(self): text1 = "all ignorance taboggens into know" #import pdb; pdb.set_trace() points = encrypt.text_to_points(text1) cipher_points = encrypt.encrypt_text(text1) text2 = decrypt.decrypt_points(cipher_points) self.assertEqual(text1, text2)