Fix QA test failure due to changes to FormatInternalUnits() function.

This commit is contained in:
Wayne Stambaugh 2020-02-29 09:09:19 -05:00
parent 18f9ba110d
commit abb8088695
1 changed files with 4 additions and 4 deletions

View File

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