Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
ad7a419a
Commit
ad7a419a
authored
Jun 19, 2016
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed roundtripping of floats (#230)
parent
4e31a0e8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
349 deletions
+43
-349
json.hpp
src/json.hpp
+16
-170
json.hpp.re2c
src/json.hpp.re2c
+16
-170
unit.cpp
test/src/unit.cpp
+11
-9
No files found.
src/json.hpp
View file @
ad7a419a
This diff is collapsed.
Click to expand it.
src/json.hpp.re2c
View file @
ad7a419a
This diff is collapsed.
Click to expand it.
test/src/unit.cpp
View file @
ad7a419a
...
...
@@ -11900,14 +11900,14 @@ TEST_CASE("compliance tests from nativejson-benchmark")
"test/data/json_roundtrip/roundtrip21.json"
,
"test/data/json_roundtrip/roundtrip22.json"
,
"test/data/json_roundtrip/roundtrip23.json"
,
"test/data/json_roundtrip/roundtrip24.json"
,
"test/data/json_roundtrip/roundtrip25.json"
,
"test/data/json_roundtrip/roundtrip26.json"
,
"test/data/json_roundtrip/roundtrip27.json"
,
"test/data/json_roundtrip/roundtrip28.json"
,
//"test/data/json_roundtrip/roundtrip24.json", // roundtrip error
//"test/data/json_roundtrip/roundtrip25.json", // roundtrip error
//"test/data/json_roundtrip/roundtrip26.json", // roundtrip error
//"test/data/json_roundtrip/roundtrip27.json", // roundtrip error
//"test/data/json_roundtrip/roundtrip28.json", // roundtrip error
"test/data/json_roundtrip/roundtrip29.json"
,
"test/data/json_roundtrip/roundtrip30.json"
,
"test/data/json_roundtrip/roundtrip31.json"
,
//"test/data/json_roundtrip/roundtrip30.json", // roundtrip error
//"test/data/json_roundtrip/roundtrip31.json", // roundtrip error
"test/data/json_roundtrip/roundtrip32.json"
})
{
...
...
@@ -14050,8 +14050,10 @@ TEST_CASE("regression tests")
//CHECK(j2b.dump() == "23.42");
CHECK
(
j3a
.
dump
()
==
"10000"
);
CHECK
(
j3b
.
dump
()
==
"1E04"
);
CHECK
(
j3c
.
dump
()
==
"1e04"
);
CHECK
(
j3b
.
dump
()
==
"10000"
);
CHECK
(
j3c
.
dump
()
==
"10000"
);
//CHECK(j3b.dump() == "1E04"); // roundtrip error
//CHECK(j3c.dump() == "1e04"); // roundtrip error
}
SECTION
(
"issue #233 - Can't use basic_json::iterator as a base iterator for std::move_iterator"
)
...
...
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