mirror of
https://github.com/json-c/json-c.git
synced 2026-03-26 16:39:06 +08:00
testbench: add test for floating point representation
This commit is contained in:
12
tests/test_float.test
Executable file
12
tests/test_float.test
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Common definitions
|
||||
if test -z "$srcdir"; then
|
||||
srcdir="${0%/*}"
|
||||
test "$srcdir" = "$0" && srcdir=.
|
||||
test -z "$srcdir" && srcdir=.
|
||||
fi
|
||||
. "$srcdir/test-defs.sh"
|
||||
|
||||
run_output_test test_float
|
||||
exit $?
|
||||
Reference in New Issue
Block a user