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" );