Introduce structure to the test/ directory

This introduces a clear separation between test data and test
binaries. Test data is moved into test/data, and the test binaries
move into test/src. A new CMake script specific to building the
tests is introduced in /test to slightly clean up the toplevel
one.

As well as tidying things up, this makes the next step trivial...
This commit is contained in:
Chris Kitching
2016-05-11 01:25:54 +01:00
parent 4e6aacda36
commit af76508fe7
87 changed files with 103 additions and 98 deletions
@@ -0,0 +1 @@
[null]
@@ -0,0 +1 @@
[true]
@@ -0,0 +1 @@
[false]
@@ -0,0 +1 @@
[0]
@@ -0,0 +1 @@
["foo"]
@@ -0,0 +1 @@
[]
@@ -0,0 +1 @@
{}
@@ -0,0 +1 @@
[0,1]
@@ -0,0 +1 @@
{"foo":"bar"}
@@ -0,0 +1 @@
{"a":null,"foo":"bar"}
@@ -0,0 +1 @@
[-1]
@@ -0,0 +1 @@
[-2147483648]
@@ -0,0 +1 @@
[-1234567890123456789]
@@ -0,0 +1 @@
[-9223372036854775808]
@@ -0,0 +1 @@
[1]
@@ -0,0 +1 @@
[2147483647]
@@ -0,0 +1 @@
[4294967295]
@@ -0,0 +1 @@
[1234567890123456789]
@@ -0,0 +1 @@
[9223372036854775807]
@@ -0,0 +1 @@
[0.0]
@@ -0,0 +1 @@
[-0.0]
@@ -0,0 +1 @@
[1.2345]
@@ -0,0 +1 @@
[-1.2345]
@@ -0,0 +1 @@
[5e-324]
@@ -0,0 +1 @@
[2.225073858507201e-308]
@@ -0,0 +1 @@
[2.2250738585072014e-308]
@@ -0,0 +1 @@
[1.7976931348623157e308]
@@ -0,0 +1 @@
[4.940656458412e-324]
@@ -0,0 +1 @@
[2.2250738585072e-308]
@@ -0,0 +1 @@
[1.2345E-30]
@@ -0,0 +1 @@
[1.2345E+30]
@@ -0,0 +1 @@
[1.2345e+30]