kicad/qa/common
John Beard 4c355c32d3 Fix rounding in COLOR4D::ToColour
Due to the implicit floor of the cast from double to unsigned char,
there was a small rounding error in COLOUR4D's WX conversion function.

This fixes the failing tests.

Also make the cast to unsigned char explicit.
2018-11-08 14:40:42 -05:00
..
geometry QA: Make a separate unit test utils library, COLOR4D tests 2018-11-08 14:40:42 -05:00
CMakeLists.txt QA: Make a separate unit test utils library, COLOR4D tests 2018-11-08 14:40:42 -05:00
common_mocks.cpp QA: Add TITLE_BLOCK tests 2018-11-08 08:28:20 -05:00
test_color4d.cpp Fix rounding in COLOR4D::ToColour 2018-11-08 14:40:42 -05:00
test_hotkey_store.cpp Add some hotkey store tests 2018-09-28 08:27:57 -04:00
test_module.cpp QA: Make a generic common test suite 2018-09-26 09:32:18 -04:00
test_title_block.cpp QA: Add TITLE_BLOCK tests 2018-11-08 08:28:20 -05:00
test_utf8.cpp QA: Add unicode to test_utf8.cpp 2018-10-18 11:36:49 -07:00