Merge branch 'bugfix-error_formatting_doubles' of github.com:Rejudge-F/osrm-backend into bugfix-error_formatting_doubles
This commit is contained in:
commit
fa28b39b54
@ -14,6 +14,8 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include <boost/assert.hpp>
|
||||||
|
|
||||||
#include <fmt/compile.h>
|
#include <fmt/compile.h>
|
||||||
|
|
||||||
namespace osrm::util::json
|
namespace osrm::util::json
|
||||||
|
|||||||
@ -27,7 +27,8 @@ BOOST_AUTO_TEST_CASE(integer)
|
|||||||
BOOST_CHECK_EQUAL(str, "42");
|
BOOST_CHECK_EQUAL(str, "42");
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(test_json_issue_6531) {
|
BOOST_AUTO_TEST_CASE(test_json_issue_6531)
|
||||||
|
{
|
||||||
std::string output;
|
std::string output;
|
||||||
osrm::util::json::Renderer<std::string> renderer(output);
|
osrm::util::json::Renderer<std::string> renderer(output);
|
||||||
renderer(0.0000000000017114087924596788);
|
renderer(0.0000000000017114087924596788);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user