formatting

This commit is contained in:
rudyhuyn 2019-05-09 02:26:12 -07:00
commit a9d4e52128
4 changed files with 17 additions and 18 deletions

View file

@ -215,7 +215,7 @@ vector<wstring> UnitConverter::StringToVector(const wstring& w, const wchar_t* d
}
return serializedTokens;
}
wstring UnitConverter::UnitToString(const Unit& u, const wchar_t * delimiter)
wstring UnitConverter::UnitToString(const Unit& u, const wchar_t* delimiter)
{
wstringstream out(wstringstream::out);
out << Quote(std::to_wstring(u.id)) << delimiter << Quote(u.name) << delimiter << Quote(u.abbreviation) << delimiter

View file

@ -1152,7 +1152,7 @@ void StandardCalculatorViewModel::OnMemoryClear(_In_ Object ^ memoryItemPosition
}
}
void StandardCalculatorViewModel::OnPropertyChanged(String^ propertyname)
void StandardCalculatorViewModel::OnPropertyChanged(String ^ propertyname)
{
if (propertyname == IsScientificPropertyName)
{

View file

@ -843,10 +843,10 @@ TEST_METHOD(TestSupplementaryResultsWhimsicalUnits)
}
// Last item
VERIFY_IS_TRUE(vm.SupplementaryResults->GetAt(0)->Unit->GetModelUnit() == UNITWHIMSY);
}
}
TEST_METHOD(TestOnPaste)
{
TEST_METHOD(TestOnPaste)
{
shared_ptr<UnitConverterMock> mock = make_shared<UnitConverterMock>();
VM::UnitConverterViewModel vm(mock);

View file

@ -60,7 +60,6 @@ namespace CalculatorUnitTests
UINT m_sendCommandCallCount;
UINT m_setVMCallbackCallCount;
UCM::Category m_curCategory;
UCM::Unit m_curFrom;
UCM::Unit m_curTo;