Fix failing test case

This commit is contained in:
Ivan Stošić
2021-02-04 13:40:56 +01:00
parent 6f04f5f1a0
commit 9f31a8a7e6

View File

@@ -483,7 +483,9 @@ namespace FancyZonesUnitTests
m_set->MoveWindowIntoZoneByPoint(window, Mocks::Window(), POINT{ 50, 50 });
Assert::IsTrue(std::vector<size_t>{ 2 } == m_set->GetZoneIndexSetFromWindow(window));
// Move into the middle zone, since we're in the middle of the overlapped area.
// See the implementation of ZonesFromPoint.
Assert::IsTrue(std::vector<size_t>{ 1 } == m_set->GetZoneIndexSetFromWindow(window));
}
};