Browse Source

Update Altium SCH QA with rounding factors

7.0
Seth Hillbrand 3 years ago
parent
commit
261a557ea2
  1. 16
      qa/unittests/eeschema/sch_plugins/altium/test_altium_parser_sch.cpp

16
qa/unittests/eeschema/sch_plugins/altium/test_altium_parser_sch.cpp

@ -66,16 +66,16 @@ static const std::vector<ALTIUM_TO_KICAD_UNIT_FRAC_CASE> altium_to_kicad_unit_fr
// Decimal Places
{ "0", "1", 0 },
{ "0", "10", 0 },
{ "0", "100", 2 },
{ "0", "1000", 25 },
{ "0", "10000", 254 },
{ "1", "10000", 2794 },
{ "0", "100", 0 },
{ "0", "1000", 30 },
{ "0", "10000", 250 },
{ "1", "10000", 2790 },
{ "0", "-1", 0 },
{ "0", "-10", 0 },
{ "0", "-100", -2 },
{ "0", "-1000", -25 },
{ "0", "-10000", -254 },
{ "-1", "-10000", -2794 },
{ "0", "-100", 0 },
{ "0", "-1000", -30 },
{ "0", "-10000", -250 },
{ "-1", "-10000", -2790 },
// Edge Cases
// Clamp bigger values
// imperial rounded units as input

Loading…
Cancel
Save