]> git.scottworley.com Git - rfc1751/blob - tests/decode.sh
decode support
[rfc1751] / tests / decode.sh
1 #!/bin/sh
2
3 set -e
4
5 [ "$(python3 rfc1751.py MANY WORD WORK)" = 6148810734 ]
6 [ "$(python3 rfc1751.py 'ONE WORD WORK')" = 1597990894 ]
7 [ "$(python3 rfc1751.py BIG BIG ONE SO BIG SO SO BIG ONE WORK GOOD WORK REAL GOOD)" = 669350037874937989068749321016845031137563765 ]