You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add Length_Angstrom as a new unit constant
Adds Angstrom as a length unit to the list of unit constants in UnitConverterDataConstants.h file.
* Add Angstrom unit to Length units in UnitConverterDataLoader.cpp
Adds the Angstrom unit of length to the list of length units in UnitConverterDataLoader.cpp and its conversion data is added to the GetConversionData() function.
It is assigned the value of 15.
* Add Angstrom as a Unit of Length
Adds new data entries to Resources.resw for unit abbreviation of Angstrom, and the unit name for Angstrom.
* Add conversion data "Meters-Angstroms" in Test.resw
Adds new data entry for "Meters-Angstroms" to Test.resw file
* Changes order of units of Length to add Angstroms
This commit changes the order of the units of length so that Angstrom is before Nanometers.
Increments orders of all other units by 1 and sets order of Angstroms to 1.
* Fixes 'TestStandardUnitConverterAndDateViewModels' test case failing
This commit fixes the "TestStandardUnitConverterAndDateViewModels" failing by introducing a new resource entry to the Test.resw file.
These changes needed to be made because adding the new unit changed the order of units, hence the test case expected a different value, since it was converting other units.
0 commit comments