mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-04 14:47:47 -05:00
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.
16 lines
531 B
Bash
Executable File
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
|