Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
abb86531
Commit
abb86531
authored
May 09, 2015
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more test cases
parent
03634cac
Changes
29
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
235 additions
and
2 deletions
+235
-2
README.md
README.md
+1
-1
test/json_roundtrip/roundtrip01.json
test/json_roundtrip/roundtrip01.json
+1
-0
test/json_roundtrip/roundtrip02.json
test/json_roundtrip/roundtrip02.json
+1
-0
test/json_roundtrip/roundtrip03.json
test/json_roundtrip/roundtrip03.json
+1
-0
test/json_roundtrip/roundtrip04.json
test/json_roundtrip/roundtrip04.json
+1
-0
test/json_roundtrip/roundtrip05.json
test/json_roundtrip/roundtrip05.json
+1
-0
test/json_roundtrip/roundtrip06.json
test/json_roundtrip/roundtrip06.json
+1
-0
test/json_roundtrip/roundtrip07.json
test/json_roundtrip/roundtrip07.json
+1
-0
test/json_roundtrip/roundtrip08.json
test/json_roundtrip/roundtrip08.json
+1
-0
test/json_roundtrip/roundtrip09.json
test/json_roundtrip/roundtrip09.json
+1
-0
test/json_roundtrip/roundtrip10.json
test/json_roundtrip/roundtrip10.json
+1
-0
test/json_roundtrip/roundtrip11.json
test/json_roundtrip/roundtrip11.json
+1
-0
test/json_roundtrip/roundtrip12.json
test/json_roundtrip/roundtrip12.json
+1
-0
test/json_roundtrip/roundtrip13.json
test/json_roundtrip/roundtrip13.json
+1
-0
test/json_roundtrip/roundtrip14.json
test/json_roundtrip/roundtrip14.json
+1
-0
test/json_roundtrip/roundtrip15.json
test/json_roundtrip/roundtrip15.json
+1
-0
test/json_roundtrip/roundtrip16.json
test/json_roundtrip/roundtrip16.json
+1
-0
test/json_roundtrip/roundtrip17.json
test/json_roundtrip/roundtrip17.json
+1
-0
test/json_roundtrip/roundtrip18.json
test/json_roundtrip/roundtrip18.json
+1
-0
test/json_roundtrip/roundtrip19.json
test/json_roundtrip/roundtrip19.json
+1
-0
test/json_roundtrip/roundtrip20.json
test/json_roundtrip/roundtrip20.json
+1
-0
test/json_roundtrip/roundtrip21.json
test/json_roundtrip/roundtrip21.json
+1
-0
test/json_roundtrip/roundtrip22.json
test/json_roundtrip/roundtrip22.json
+1
-0
test/json_roundtrip/roundtrip23.json
test/json_roundtrip/roundtrip23.json
+1
-0
test/json_roundtrip/roundtrip24.json
test/json_roundtrip/roundtrip24.json
+1
-0
test/json_roundtrip/roundtrip25.json
test/json_roundtrip/roundtrip25.json
+1
-0
test/json_roundtrip/roundtrip26.json
test/json_roundtrip/roundtrip26.json
+1
-0
test/json_roundtrip/roundtrip27.json
test/json_roundtrip/roundtrip27.json
+1
-0
test/unit.cpp
test/unit.cpp
+207
-1
No files found.
README.md
View file @
abb86531
...
...
@@ -397,7 +397,7 @@ $ make
$
./json_unit
===============================================================================
All tests passed
(
4
708 assertions
in
20
test
cases
)
All tests passed
(
4
800 assertions
in
21
test
cases
)
```
For more information, have a look at the file
[
.travis.yml
](
https://github.com/nlohmann/json/blob/master/.travis.yml
)
.
test/json_roundtrip/roundtrip01.json
0 → 100644
View file @
abb86531
[
null
]
\ No newline at end of file
test/json_roundtrip/roundtrip02.json
0 → 100644
View file @
abb86531
[
true
]
\ No newline at end of file
test/json_roundtrip/roundtrip03.json
0 → 100644
View file @
abb86531
[
false
]
\ No newline at end of file
test/json_roundtrip/roundtrip04.json
0 → 100644
View file @
abb86531
[
0
]
\ No newline at end of file
test/json_roundtrip/roundtrip05.json
0 → 100644
View file @
abb86531
[
"foo"
]
\ No newline at end of file
test/json_roundtrip/roundtrip06.json
0 → 100644
View file @
abb86531
[]
\ No newline at end of file
test/json_roundtrip/roundtrip07.json
0 → 100644
View file @
abb86531
{}
\ No newline at end of file
test/json_roundtrip/roundtrip08.json
0 → 100644
View file @
abb86531
[
0
,
1
]
\ No newline at end of file
test/json_roundtrip/roundtrip09.json
0 → 100644
View file @
abb86531
{
"foo"
:
"bar"
}
\ No newline at end of file
test/json_roundtrip/roundtrip10.json
0 → 100644
View file @
abb86531
{
"a"
:
null
,
"foo"
:
"bar"
}
\ No newline at end of file
test/json_roundtrip/roundtrip11.json
0 → 100644
View file @
abb86531
[
-1
]
\ No newline at end of file
test/json_roundtrip/roundtrip12.json
0 → 100644
View file @
abb86531
[
-2147483648
]
\ No newline at end of file
test/json_roundtrip/roundtrip13.json
0 → 100644
View file @
abb86531
[
-1234567890123456789
]
\ No newline at end of file
test/json_roundtrip/roundtrip14.json
0 → 100644
View file @
abb86531
[
-9223372036854775808
]
\ No newline at end of file
test/json_roundtrip/roundtrip15.json
0 → 100644
View file @
abb86531
[
1
]
\ No newline at end of file
test/json_roundtrip/roundtrip16.json
0 → 100644
View file @
abb86531
[
2147483647
]
\ No newline at end of file
test/json_roundtrip/roundtrip17.json
0 → 100644
View file @
abb86531
[
4294967295
]
\ No newline at end of file
test/json_roundtrip/roundtrip18.json
0 → 100644
View file @
abb86531
[
1234567890123456789
]
\ No newline at end of file
test/json_roundtrip/roundtrip19.json
0 → 100644
View file @
abb86531
[
9223372036854775807
]
\ No newline at end of file
test/json_roundtrip/roundtrip20.json
0 → 100644
View file @
abb86531
[
0.0
]
\ No newline at end of file
test/json_roundtrip/roundtrip21.json
0 → 100644
View file @
abb86531
[
-0.0
]
\ No newline at end of file
test/json_roundtrip/roundtrip22.json
0 → 100644
View file @
abb86531
[
1.2345
]
\ No newline at end of file
test/json_roundtrip/roundtrip23.json
0 → 100644
View file @
abb86531
[
-1.2345
]
\ No newline at end of file
test/json_roundtrip/roundtrip24.json
0 → 100644
View file @
abb86531
[
5e-324
]
\ No newline at end of file
test/json_roundtrip/roundtrip25.json
0 → 100644
View file @
abb86531
[
2.225073858507201e-308
]
\ No newline at end of file
test/json_roundtrip/roundtrip26.json
0 → 100644
View file @
abb86531
[
2.2250738585072014e-308
]
\ No newline at end of file
test/json_roundtrip/roundtrip27.json
0 → 100644
View file @
abb86531
[
1.7976931348623157e308
]
\ No newline at end of file
test/unit.cpp
View file @
abb86531
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment