Minor fixes

This commit is contained in:
Jérôme Leclercq
2022-01-23 01:22:16 +01:00
parent 2ebcddf9de
commit 3c308970a1
3 changed files with 5 additions and 5 deletions

View File

@@ -34,13 +34,13 @@ SCENARIO("SparsePtr", "[CORE][SPARSEPTR]")
THEN("Operator+ and operator-")
{
auto offsetTwo = sparsePtr + 2;
auto offsetTwo = sparsePtr + 2ull;
CHECK(4 == *offsetTwo);
auto offsetZero = offsetTwo - 2;
auto offsetZero = offsetTwo - 2ull;
CHECK(0 == *offsetZero);
CHECK((offsetTwo - offsetZero) == 2);
CHECK((offsetTwo - offsetZero) == 2ull);
}
}
}