()
| 130 | |
| 131 | |
| 132 | def test_first_to_lower_special_encoding(): |
| 133 | encoder = MetaStringEncoder(special_char1=".", special_char2="_") |
| 134 | decoder = MetaStringDecoder(special_char1=".", special_char2="_") |
| 135 | |
| 136 | test_string = "Aabcdef" |
| 137 | metastring = encoder.encode(test_string) |
| 138 | assert metastring.encoding == Encoding.FIRST_TO_LOWER_SPECIAL |
| 139 | decoded_string = decoder.decode(metastring.encoded_data, metastring.encoding) |
| 140 | assert decoded_string == test_string |
| 141 | |
| 142 | |
| 143 | def test_utf8_encoding(): |
nothing calls this directly
no test coverage detected