diff --git a/scripts/unit_test.sh b/scripts/unit_test.sh new file mode 100644 index 0000000..2900710 --- /dev/null +++ b/scripts/unit_test.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# bash scripts/unit_test.sh +# check $? for success or failure +go test -v -cover encoder_test.go encoder.go helper.go +go test -v -cover helper_test.go helper.go + +# if [[ $? -ne 0 ]] ; then +# echo "TEST FAILED!!! PLEASE DOUBLE CHECK." +# fi