From abb8088695f6b8b5de61fb096205bfb70d0ff456 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Sat, 29 Feb 2020 09:09:19 -0500 Subject: [PATCH] Fix QA test failure due to changes to FormatInternalUnits() function. --- qa/common/test_format_units.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qa/common/test_format_units.cpp b/qa/common/test_format_units.cpp index 06f53f465c..67d9297428 100644 --- a/qa/common/test_format_units.cpp +++ b/qa/common/test_format_units.cpp @@ -55,10 +55,10 @@ BOOST_AUTO_TEST_CASE( wxPointUnitFormat ) BOOST_CHECK_EQUAL( strZero, "0 0" ); #ifdef EESCHEMA - BOOST_CHECK_EQUAL( str, "123456 52525252" ); - BOOST_CHECK_EQUAL( strNeg, "-123456 -52525252" ); - BOOST_CHECK_EQUAL( strMax, "-2147483648 2147483647" ); - BOOST_CHECK_EQUAL( strOddNeg, "-350000 0" ); + BOOST_CHECK_EQUAL( str, "12.3456 5252.5252" ); + BOOST_CHECK_EQUAL( strNeg, "-12.3456 -5252.5252" ); + BOOST_CHECK_EQUAL( strMax, "-214748.3648 214748.3647" ); + BOOST_CHECK_EQUAL( strOddNeg, "-35 0" ); #elif GERBVIEW BOOST_CHECK_EQUAL( str, "1.23456 525.25252" ); BOOST_CHECK_EQUAL( strNeg, "-1.23456 -525.25252" );