X-Git-Url: http://git.scottworley.com/rfc1751/blobdiff_plain/1cfbde798b119a1678a7941d3702f52018f7e857..c4374da5ae0994f0ca5e2e243e5577199267d985:/tests/decode.sh?ds=sidebyside diff --git a/tests/decode.sh b/tests/decode.sh new file mode 100755 index 0000000..f90fecd --- /dev/null +++ b/tests/decode.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +[ "$(python3 rfc1751.py MANY WORD WORK)" = 6148810734 ] +[ "$(python3 rfc1751.py 'ONE WORD WORK')" = 1597990894 ] +[ "$(python3 rfc1751.py BIG BIG ONE SO BIG SO SO BIG ONE WORK GOOD WORK REAL GOOD)" = 669350037874937989068749321016845031137563765 ]