diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
commit | c484829272cd13a738e35412498e12f2c9a194ac (patch) | |
tree | a1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/json/basic3 | |
parent | Initial commit. (diff) | |
download | liborcus-upstream/0.19.2.tar.xz liborcus-upstream/0.19.2.zip |
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/json/basic3')
-rw-r--r-- | test/json/basic3/check.txt | 29 | ||||
-rw-r--r-- | test/json/basic3/input.json | 11 | ||||
-rw-r--r-- | test/json/basic3/output.yaml | 10 |
3 files changed, 50 insertions, 0 deletions
diff --git a/test/json/basic3/check.txt b/test/json/basic3/check.txt new file mode 100644 index 0000000..350d182 --- /dev/null +++ b/test/json/basic3/check.txt @@ -0,0 +1,29 @@ +ns0="http://schemas.kohei.us/orcus/2015/json" +/ns0:array +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="0" +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="1" +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="2" +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="15" +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="12.34" +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="-0.12" +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="1.2e+22" +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="1.11e-07" +/ns0:array/ns0:item +/ns0:array/ns0:item/ns0:number +/ns0:array/ns0:item/ns0:number@value="1100" diff --git a/test/json/basic3/input.json b/test/json/basic3/input.json new file mode 100644 index 0000000..d2a8967 --- /dev/null +++ b/test/json/basic3/input.json @@ -0,0 +1,11 @@ +[ + 0, + 1, + 2, + 15, + 12.34, + -0.12, + 1.2e+22, + 1.11e-7, + 11E2 +] diff --git a/test/json/basic3/output.yaml b/test/json/basic3/output.yaml new file mode 100644 index 0000000..3624666 --- /dev/null +++ b/test/json/basic3/output.yaml @@ -0,0 +1,10 @@ +--- +- 0 +- 1 +- 2 +- 15 +- 12.34 +- -0.12 +- 1.2e+22 +- 1.11e-07 +- 1100 |