diff --git a/test/check-endianness.sh b/test/check-endianness.sh new file mode 100644 index 0000000..480fe94 --- /dev/null +++ b/test/check-endianness.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# A sanity check to prevent human error +echo "if you see any output, this test has failed" + +grep -R setUint *.js test/ | grep -v false +grep -R getUint *.js test/ | grep -v false