Added tests from SRFI reference implementation

This commit is contained in:
Daniel Ziltener 2022-02-28 14:48:23 +01:00
parent 8e5e08edac
commit 128e249bd5
333 changed files with 2817 additions and 1 deletions

1646
srfi.180.checks.scm Normal file

File diff suppressed because it is too large Load diff

View file

@ -6,9 +6,14 @@
(license "MIT")
(version "1.0.0")
(dependencies r7rs srfi-60 srfi-145)
(build-dependencies srfi-121)
(components
(extension srfi.180.helpers
(csc-options "-X" "r7rs" "-R" "r7rs"))
(extension srfi-180
(component-dependencies srfi.180.helpers)
(csc-options "-X" "r7rs" "-R" "r7rs"))))
(csc-options "-X" "r7rs" "-R" "r7rs"))
(extension srfi.180.checks
(component-dependencies srfi-180)
(csc-options "-X" "r7rs" "-R" "r7rs"))
))

21
tests/files/LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2016 Nicolas Seriot
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -0,0 +1 @@
[123.456e-789]

View file

@ -0,0 +1 @@
[0.4e00669999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999969999999006]

View file

@ -0,0 +1 @@
[-1e+9999]

View file

@ -0,0 +1 @@
[1.5e+9999]

View file

@ -0,0 +1 @@
[-123123e100000]

View file

@ -0,0 +1 @@
[123123e100000]

View file

@ -0,0 +1 @@
[123e-10000000]

View file

@ -0,0 +1 @@
[-123123123123123123123123123123]

View file

@ -0,0 +1 @@
[100000000000000000000]

View file

@ -0,0 +1 @@
[-237462374673276894279832749832423479823246327846]

View file

@ -0,0 +1 @@
{"\uDFAA":0}

View file

@ -0,0 +1 @@
["\uDADA"]

View file

@ -0,0 +1 @@
["\uD888\u1234"]

Binary file not shown.

View file

@ -0,0 +1 @@
["譌・ム淫"]

View file

@ -0,0 +1 @@
["<22><><EFBFBD>"]

View file

@ -0,0 +1 @@
["\uD800\n"]

View file

@ -0,0 +1 @@
["\uDd1ea"]

View file

@ -0,0 +1 @@
["\uD800\uD800\n"]

View file

@ -0,0 +1 @@
["\ud800"]

View file

@ -0,0 +1 @@
["\ud800abc"]

View file

@ -0,0 +1 @@
["<22>"]

View file

@ -0,0 +1 @@
["\uDd1e\uD834"]

View file

@ -0,0 +1 @@
["И"]

View file

@ -0,0 +1 @@
["\uDFAA"]

View file

@ -0,0 +1 @@
["<22>"]

View file

@ -0,0 +1 @@
["<22><><EFBFBD><EFBFBD>"]

View file

@ -0,0 +1 @@
["<22><>"]

View file

@ -0,0 +1 @@
["<22>ソソソソ"]

View file

@ -0,0 +1 @@
["<22>€€€€"]

View file

@ -0,0 +1 @@
["<22><>"]

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

View file

@ -0,0 +1 @@
{}

View file

@ -0,0 +1,10 @@
{"d":"2014-09-22T22:11:26.315Z","count":0}
{"d":"2014-09-22T22:11:26.317Z","count":1}
{"d":"2014-09-22T22:11:26.317Z","count":2}
{"d":"2014-09-22T22:11:26.317Z","count":3}
{"d":"2014-09-22T22:11:26.317Z","count":4}
{"d":"2014-09-22T22:11:26.317Z","count":5}
{"d":"2014-09-22T22:11:26.317Z","count":6}
{"d":"2014-09-22T22:11:26.317Z","count":7}
{"d":"2014-09-22T22:11:26.317Z","
{"d":"2014-09-22T22:11:26.317Z","count":9}

View file

@ -0,0 +1,10 @@
{"d":"2014-09-22T22:11:26.315Z","count":0}
{"d":"2014-09-22T22:11:26.317Z","count":1}
{"d":"2014-09-22T22:11:26.317Z","count":2}
{"d":"2014-09-22T22:11:26.317Z","count":3}
{"d":"2014-09-22T22:11:26.317Z","count":4}
{"d":"2014-09-22T22:11:26.317Z","count":5}
{"d":"2014-09-22T22:11:26.317Z","count":6}
{"d":"2014-09-22T22:11:26.317Z","count":7}
{"d":"2014-09-22T22:11:26.317Z","count":8}
{"d":"2014-09-22T22:11:26.317Z","count":9}

View file

@ -0,0 +1 @@
[1 true]

View file

@ -0,0 +1 @@
[a

View file

@ -0,0 +1 @@
["": 1]

View file

@ -0,0 +1 @@
[""],

View file

@ -0,0 +1 @@
[,1]

View file

@ -0,0 +1 @@
[1,,2]

View file

@ -0,0 +1 @@
["x",,]

View file

@ -0,0 +1 @@
["x"]]

View file

@ -0,0 +1 @@
["",]

View file

@ -0,0 +1 @@
["x"

View file

@ -0,0 +1 @@
[x

View file

@ -0,0 +1 @@
[3[4]]

View file

@ -0,0 +1 @@
[<EFBFBD>]

View file

@ -0,0 +1 @@
[1:2]

View file

@ -0,0 +1 @@
[,]

View file

@ -0,0 +1 @@
[-]

View file

@ -0,0 +1 @@
[ , ""]

View file

@ -0,0 +1,3 @@
["a",
4
,1,

View file

@ -0,0 +1 @@
[1,]

View file

@ -0,0 +1 @@
[1,,]

View file

@ -0,0 +1 @@
[" a"\f]

View file

@ -0,0 +1 @@
[*]

View file

@ -0,0 +1 @@
[""

View file

@ -0,0 +1 @@
[1,

View file

@ -0,0 +1,3 @@
[1,
1
,1

View file

@ -0,0 +1 @@
[{}

View file

@ -0,0 +1 @@
fxyz

View file

@ -0,0 +1 @@
txyz

View file

@ -0,0 +1 @@
[fals]

View file

@ -0,0 +1 @@
[nul]

View file

@ -0,0 +1 @@
[tru]

Binary file not shown.

View file

@ -0,0 +1 @@
nxyz

View file

@ -0,0 +1 @@
[++1234]

1
tests/files/n_number_+1.json Executable file
View file

@ -0,0 +1 @@
[+1]

1
tests/files/n_number_+Inf.json Executable file
View file

@ -0,0 +1 @@
[+Inf]

1
tests/files/n_number_-01.json Executable file
View file

@ -0,0 +1 @@
[-01]

View file

@ -0,0 +1 @@
[-1.0.]

1
tests/files/n_number_-2..json Executable file
View file

@ -0,0 +1 @@
[-2.]

1
tests/files/n_number_-NaN.json Executable file
View file

@ -0,0 +1 @@
[-NaN]

View file

@ -0,0 +1 @@
[.-1]

View file

@ -0,0 +1 @@
[.2e-3]

View file

@ -0,0 +1 @@
[0.1.2]

View file

@ -0,0 +1 @@
[0.3e+]

View file

@ -0,0 +1 @@
[0.3e]

View file

@ -0,0 +1 @@
[0.e1]

View file

@ -0,0 +1 @@
[0E+]

View file

@ -0,0 +1 @@
[0E]

View file

@ -0,0 +1 @@
[0e+]

View file

@ -0,0 +1 @@
[0e]

View file

@ -0,0 +1 @@
[1.0e+]

View file

@ -0,0 +1 @@
[1.0e-]

1
tests/files/n_number_1.0e.json Executable file
View file

@ -0,0 +1 @@
[1.0e]

View file

@ -0,0 +1 @@
[1 000.0]

1
tests/files/n_number_1eE2.json Executable file
View file

@ -0,0 +1 @@
[1eE2]

View file

@ -0,0 +1 @@
[2.e+3]

View file

@ -0,0 +1 @@
[2.e-3]

1
tests/files/n_number_2.e3.json Executable file
View file

@ -0,0 +1 @@
[2.e3]

View file

@ -0,0 +1 @@
[9.e+]

1
tests/files/n_number_Inf.json Executable file
View file

@ -0,0 +1 @@
[Inf]

Some files were not shown because too many files have changed in this diff Show more