UnitsNet icon indicating copy to clipboard operation
UnitsNet copied to clipboard

Adding BaseUnits for Angstrom results in test failures due to UnitSystem logic

Open tmilnthorp opened this issue 4 years ago • 0 comments

Describe the bug Adding BaseUnits for Angstrom results in test failures due to UnitSystem logic. The BaseUnits for Armstrongs are coming as the first QuantityInfo in the UnitSystem constructor since A happens to be first in the alphabetic list.

To Reproduce Steps to reproduce the behavior (just an example):

  • Make sure Armstrongs are in the code (see #1042)
  • Add BaseUnits of Meter

Expected behavior Meters is still the expected LengthUnit for SI.

Screenshots image

tmilnthorp avatar Feb 11 '22 14:02 tmilnthorp