From 359108f8caaf35e2ff732861aeb0586361518b68 Mon Sep 17 00:00:00 2001 From: Alfonso Gregory Date: Thu, 15 Jul 2021 11:21:48 -0400 Subject: [PATCH] Stuff --- src/CalculatorUnitTests/HistoryTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CalculatorUnitTests/HistoryTests.cpp b/src/CalculatorUnitTests/HistoryTests.cpp index 16c28880..9fa8f1ad 100644 --- a/src/CalculatorUnitTests/HistoryTests.cpp +++ b/src/CalculatorUnitTests/HistoryTests.cpp @@ -160,7 +160,7 @@ namespace CalculatorFunctionalTests m_standardViewModel->SendCommandToCalcManager(static_cast(Command::ModeScientific)); m_historyViewModel->ReloadHistory(ViewMode::Scientific); - VERIFY_ARE_EQUAL(scientificItems, m_historyViewModel->ItemsCount); + VERIFY_ARE_EQUAL((unsigned int)scientificItems, m_historyViewModel->ItemsCount); for (int i = 0; i < scientificItems; i++) { wstring expr = L"1 + " + wstring(i.ToString()->Data()) + L" ="; @@ -173,7 +173,7 @@ namespace CalculatorFunctionalTests m_historyViewModel->ReloadHistory(ViewMode::Standard); m_standardViewModel->SendCommandToCalcManager(static_cast(Command::ModeBasic)); - VERIFY_ARE_EQUAL(standardItems, m_historyViewModel->ItemsCount); + VERIFY_ARE_EQUAL((unsigned int)standardItems, m_historyViewModel->ItemsCount); for (int i = 0; i < standardItems; i++) { wstring expr = L"1 + " + wstring(i.ToString()->Data()) + L" =";