From c05be30e8c29a59b723834e4704ea55f58495e61 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 21 Jul 2021 19:33:36 +0200 Subject: [PATCH] :hammer: fix numbers --- test/src/unit-unicode2.cpp | 2 +- test/src/unit-unicode3.cpp | 2 +- test/src/unit-unicode4.cpp | 2 +- test/src/unit-unicode5.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/src/unit-unicode2.cpp b/test/src/unit-unicode2.cpp index 6036da77a..074704bba 100644 --- a/test/src/unit-unicode2.cpp +++ b/test/src/unit-unicode2.cpp @@ -140,7 +140,7 @@ void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte { if (++calls % 100000 == 0) { - std::cout << calls << " of 8860608 UTF-8 strings checked" << std::endl; + std::cout << calls << " of 455355 UTF-8 strings checked" << std::endl; } static std::string json_string; diff --git a/test/src/unit-unicode3.cpp b/test/src/unit-unicode3.cpp index d8886d181..81bf89ba0 100644 --- a/test/src/unit-unicode3.cpp +++ b/test/src/unit-unicode3.cpp @@ -140,7 +140,7 @@ void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte { if (++calls % 100000 == 0) { - std::cout << calls << " of 8860608 UTF-8 strings checked" << std::endl; + std::cout << calls << " of 1641521 UTF-8 strings checked" << std::endl; } static std::string json_string; diff --git a/test/src/unit-unicode4.cpp b/test/src/unit-unicode4.cpp index 0b0c961d1..2a268c1fb 100644 --- a/test/src/unit-unicode4.cpp +++ b/test/src/unit-unicode4.cpp @@ -140,7 +140,7 @@ void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte { if (++calls % 100000 == 0) { - std::cout << calls << " of 8860608 UTF-8 strings checked" << std::endl; + std::cout << calls << " of 5517507 UTF-8 strings checked" << std::endl; } static std::string json_string; diff --git a/test/src/unit-unicode5.cpp b/test/src/unit-unicode5.cpp index 23da1f1fd..abe851469 100644 --- a/test/src/unit-unicode5.cpp +++ b/test/src/unit-unicode5.cpp @@ -140,7 +140,7 @@ void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte { if (++calls % 100000 == 0) { - std::cout << calls << " of 8860608 UTF-8 strings checked" << std::endl; + std::cout << calls << " of 1246225 UTF-8 strings checked" << std::endl; } static std::string json_string;