From 43a625b19ea2c340df2e643d0f020ceac4d9b445 Mon Sep 17 00:00:00 2001 From: justinvforvendetta Date: Sat, 26 Sep 2020 23:00:50 -0400 Subject: [PATCH] fixed parsing test forgot to fix test when parsing more than 6 decimals handling was added --- src/test/util_tests.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp index 0e19818e7..e2740b2a3 100644 --- a/src/test/util_tests.cpp +++ b/src/test/util_tests.cpp @@ -1035,14 +1035,8 @@ BOOST_AUTO_TEST_CASE(test_ParseFixedPoint) BOOST_CHECK(!ParseFixedPoint("-", 8, &amount)); BOOST_CHECK(!ParseFixedPoint("a-1000", 8, &amount)); BOOST_CHECK(!ParseFixedPoint("-a1000", 8, &amount)); - BOOST_CHECK(!ParseFixedPoint("-1000a", 8, &amount)); - BOOST_CHECK(!ParseFixedPoint("-01000", 8, &amount)); - BOOST_CHECK(!ParseFixedPoint("00.1", 8, &amount)); BOOST_CHECK(!ParseFixedPoint(".1", 8, &amount)); BOOST_CHECK(!ParseFixedPoint("--0.1", 8, &amount)); - BOOST_CHECK(!ParseFixedPoint("0.000000001", 8, &amount)); - BOOST_CHECK(!ParseFixedPoint("-0.000000001", 8, &amount)); - BOOST_CHECK(!ParseFixedPoint("0.00000001000000001", 8, &amount)); BOOST_CHECK(!ParseFixedPoint("-10000000000.00000000", 8, &amount)); BOOST_CHECK(!ParseFixedPoint("10000000000.00000000", 8, &amount)); BOOST_CHECK(!ParseFixedPoint("-10000000000.00000001", 8, &amount));