()
| 119 | |
| 120 | |
| 121 | def test_all_to_upper_special_encoding(): |
| 122 | encoder = MetaStringEncoder(special_char1=".", special_char2="_") |
| 123 | decoder = MetaStringDecoder(special_char1=".", special_char2="_") |
| 124 | |
| 125 | test_string = "ABC_DEF" |
| 126 | metastring = encoder.encode(test_string) |
| 127 | assert metastring.encoding == Encoding.LOWER_UPPER_DIGIT_SPECIAL |
| 128 | decoded_string = decoder.decode(metastring.encoded_data, metastring.encoding) |
| 129 | assert decoded_string == test_string |
| 130 | |
| 131 | |
| 132 | def test_first_to_lower_special_encoding(): |
nothing calls this directly
no test coverage detected