Files
astronomy/generate/diffcalc
Don Cross 9d6294d7fe Miscellaneous documentation fixes.
While working on the Kotlin implementation, I have
found a few documentation mistakes in the other language
implementations. These have been accumulating in the
`kotlin` branch. I migrated these changes back into
the released code for now, because I don't want to wait
until Kotlin is ready.
2022-04-02 16:52:54 -04:00

16 lines
531 B
Bash
Executable File

#!/bin/bash
echo "diffcalc: $(gcc --version | head -n 1)"
echo "diffcalc: dotnet $(dotnet --version)"
echo "diffcalc: Node.js $(node --version)"
echo "diffcalc: $(python3 --version)"
./ctest $1 diff 4.9e-15 temp/c_check.txt dotnet/csharp_test/csharp_check.txt || exit $?
./ctest $1 diff 6.7e-15 temp/{c,k}_check.txt || exit $?
./ctest $1 diff 6.7e-15 temp/{c,js}_check.txt || exit $?
./ctest $1 diff 3.1e-15 temp/{c,py}_check.txt || exit $?
./ctest $1 diff 6.7e-15 temp/{js,py}_check.txt || exit $?
echo "diffcalc: PASS"
exit 0