def test_full_alphabet(self): test_string = "thequickbrownfoxjumpsoverthelazydog" encoded = encode.encode_string(test_string) decoded = encode.encode_string(encoded) self.assertEqual(test_string, decoded)
def test_that_string_encodes_to_correct_value(self): result = encode.encode_string('test') self.assertEqual('grfg', result)