calculator/src/CalculatorUnitTests
Eric Wong 43b2d4e536 Fix test code that never executes (#465)
Fixes #175.
Fixes loop in test code to verify that commands not supported by the unit converter viewmodel result in no-op.

Description of the changes:
Removed loop of range of enums with a being tested for no-ops since it added no intrinsic value (and the way that the range was handled was incorrect).  Considered adding an iterator over a static list of commands to validate against, but determined it didn't add any notable value.

How changes were validated:
Ran modified test to ensure it passes
2019-04-18 17:05:44 -07:00
..
Assets Optimised images losslessly. (#229) 2019-03-13 16:37:50 -07:00
Mocks Fix declarations of functions (#186) 2019-03-13 13:15:08 -07:00
AsyncHelper.cpp Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
AsyncHelper.h Replace escape sequences with path separators in include paths 2019-03-07 15:51:00 -08:00
CalcEngineTests.cpp Modify how modulo is calculated in Normal and Scientific mode. (#412) 2019-04-16 17:17:24 -07:00
CalcInputTest.cpp Modify how modulo is calculated in Normal and Scientific mode. (#412) 2019-04-16 17:17:24 -07:00
CalculatorManagerTest.cpp Improve the support of Narrator with parenthesis (#368) 2019-04-15 09:31:02 -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 Modify how modulo is calculated in Normal and Scientific mode. (#412) 2019-04-16 17:17:24 -07:00
CalculatorUnitTests.vcxproj.filters Modify how modulo is calculated in Normal and Scientific mode. (#412) 2019-04-16 17:17:24 -07:00
CopyPasteManagerTest.cpp Accept plus/minus sign before a parenthesis in ClipboardManager (#346) 2019-03-25 19:09:05 -07:00
CurrencyConverterUnitTests.cpp Updating comments per the C++ core guidelines and removing trailing whitespace (#194) 2019-03-14 23:30:07 -07:00
DateCalculatorUnitTests.cpp Fix issue with Date diff when it includes a Daylight Saving Time (#193) 2019-03-18 11:22:32 -07:00
DateUtils.h Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
Helpers.h Replace escape sequences with path separators in include paths 2019-03-07 15:51:00 -08:00
HistoryTests.cpp Build with /W4 (#197) 2019-03-08 23:15:28 -08:00
Module.cpp Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
MultiWindowUnitTests.cpp Updating comments per the C++ core guidelines and removing trailing whitespace (#194) 2019-03-14 23:30:07 -07:00
NavCategoryUnitTests.cpp Build with /W4 (#197) 2019-03-08 23:15:28 -08: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 Disable use of min/max macros defined by Windows headers. (#363) 2019-03-25 11:28:29 -07:00
RationalTest.cpp Modify how modulo is calculated in Normal and Scientific mode. (#412) 2019-04-16 17:17:24 -07:00
resource.h Updating comments per the C++ core guidelines and removing trailing whitespace (#194) 2019-03-14 23:30:07 -07:00
StandardViewModelUnitTests.cpp Updating comments per the C++ core guidelines and removing trailing whitespace (#194) 2019-03-14 23:30:07 -07:00
Test.resw Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00
UnitConverterTest.cpp Updating comments per the C++ core guidelines and removing trailing whitespace (#194) 2019-03-14 23:30:07 -07:00
UnitConverterViewModelUnitTests.cpp Fix test code that never executes (#465) 2019-04-18 17:05:44 -07:00
UnitConverterViewModelUnitTests.h Keep input when users refresh currency rates (#369) 2019-04-16 11:29:43 -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 Updating comments per the C++ core guidelines and removing trailing whitespace (#194) 2019-03-14 23:30:07 -07:00
UnitTestApp.xaml.h Replace escape sequences with path separators in include paths 2019-03-07 15:51:00 -08:00
UtilsTests.cpp Clean up unit test projects (#4) 2019-01-29 19:37:37 -08:00