From f79d52b973f30250d5b7734c327786ca27fbdb65 Mon Sep 17 00:00:00 2001
From: Trevor Welsby <welsby.trevorr@gmail.com>
Date: Sun, 24 Jan 2016 19:15:30 +1000
Subject: [PATCH] DEBUG ONLY: DUMP INFO FROM TRAVIS

---
 test/unit.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test/unit.cpp b/test/unit.cpp
index 05c36acc..a1362fc4 100644
--- a/test/unit.cpp
+++ b/test/unit.cpp
@@ -11521,6 +11521,13 @@ TEST_CASE("regression tests")
 
         j = json::parse("1.00000000000000011102230246251565404236316680908203126");
         CHECK(j.get<double>() == 1.00000000000000022);
+        union double_union { double _double; uint64_t _uint64_t; };
+        double_union A, B;
+        A._double = 1.00000000000000022;
+        B._double = j.get<double>();
+        std::cout << "Literal -> " << std::hex << A._uint64_t << std::endl;
+        std::cout << "Parsed  -> " << std::hex << B._uint64_t << std::endl;
+        std::cout << "Type == " << std::dec << static_cast<int>(j.type()) << std::endl;
 
         j = json::parse("7205759403792793199999e-5");
         CHECK(j.get<double>() == 72057594037927928.0);