calculator/src/CalculatorUnitTests
Rudy Huyn 2ff7bb4089 Unit Converter - Calculate the rounding precision of results based on the source (#498)
* precisely calculates the number of digits of the source and compute the number of significant digits of the result based on that.

* fix unit test

* Fix warning C4267

* Optimize how we calculate the number of digits in the integer part and don't trim the value when used by the currency converter

* modify GetNumberSignificantDigits

* fix CI error

* Access to wstring::npos from static calls

* Move UnitConverter static methods related to number to NumberFormattingUtils

* rename namespace

* Add comment and fix typo

* Move standard headers
2019-07-16 17:00:57 -07:00
..
Assets Optimised images losslessly. (#229) 2019-03-13 16:37:50 -07:00
Mocks Secondary formatting changes (#489) 2019-05-02 16:48:33 -07:00
AsyncHelper.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
AsyncHelper.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
CalcEngineTests.cpp Secondary formatting changes (#489) 2019-05-02 16:48:33 -07:00
CalcInputTest.cpp Secondary formatting changes (#489) 2019-05-02 16:48:33 -07:00
CalculatorManagerTest.cpp Unit Converter - Calculate the rounding precision of results based on the source (#498) 2019-07-16 17:00:57 -07:00
CalculatorUnitTests_TemporaryKey.pfx Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
CalculatorUnitTests.rc Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
CalculatorUnitTests.vcxproj Use the current locale to sort country names (#259) 2019-07-16 11:44:12 -07:00
CalculatorUnitTests.vcxproj.filters Use the current locale to sort country names (#259) 2019-07-16 11:44:12 -07:00
CopyPasteManagerTest.cpp Accept exponential numbers without -/+ sign. (#270) 2019-05-09 10:10:17 -07:00
CurrencyConverterUnitTests.cpp Fix unit tests to run on non-english devices (#289) 2019-05-14 09:57:58 -07:00
DateCalculatorUnitTests.cpp Date difference: display the difference in days (only) when we aren't able to calculate the difference in days/weeks/months.. (#555) 2019-06-30 18:22:29 -07:00
DateUtils.h Secondary formatting changes (#489) 2019-05-02 16:48:33 -07:00
Helpers.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
HistoryTests.cpp Secondary formatting changes (#489) 2019-05-02 16:48:33 -07:00
LocalizationServiceUnitTests.cpp Use the current locale to sort country names (#259) 2019-07-16 11:44:12 -07:00
Module.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
MultiWindowUnitTests.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
NavCategoryUnitTests.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
Package.appxmanifest Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
pch.cpp Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
pch.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
RationalTest.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
resource.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
StandardViewModelUnitTests.cpp Remove Serialize/Deserialize functions never used in StandardCalculatorViewModel, UnitConverter, UnitConverterViewModel and CalculatorManager (#392) 2019-05-09 11:01:43 -07:00
Test.resw Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
UnitConverterTest.cpp Unit Converter - Calculate the rounding precision of results based on the source (#498) 2019-07-16 17:00:57 -07:00
UnitConverterViewModelUnitTests.cpp Remove Serialize/Deserialize functions never used in StandardCalculatorViewModel, UnitConverter, UnitConverterViewModel and CalculatorManager (#392) 2019-05-09 11:01:43 -07:00
UnitConverterViewModelUnitTests.h Add CMake project, GCC support (#540) 2019-06-06 14:08:31 -07:00
UnitTestApp.rd.xml Spelling (#135) 2019-03-07 10:27:13 -08:00
UnitTestApp.xaml Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
UnitTestApp.xaml.cpp Fix unit tests to run on non-english devices (#289) 2019-05-14 09:57:58 -07:00
UnitTestApp.xaml.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
UtilsTests.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00