You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Deze repo is gearchiveerd. U kunt bestanden bekijken en het klonen, maar niet pushen of problemen/pull-requests openen.

test_stegano.py 227 B

5 jaren geleden
123456789
  1. import stegano
  2. def test_message_conversion():
  3. message = b"I love you\ngarbage"
  4. encoded = list(stegano.get_bitstream(message))
  5. decoded = bytes(stegano.parse_bitstream(encoded))
  6. assert decoded == b"I love you"