diff --git a/Tests/UnitTests/Core/Seeding/SpacePoint.hpp b/Tests/UnitTests/Core/Seeding/SpacePoint.hpp index caf39133a8e..4d93b1c767b 100644 --- a/Tests/UnitTests/Core/Seeding/SpacePoint.hpp +++ b/Tests/UnitTests/Core/Seeding/SpacePoint.hpp @@ -24,7 +24,8 @@ struct SpacePoint { bool operator==(SpacePoint a, SpacePoint b) { if (a.m_x == b.m_x && a.m_y == b.m_y && a.m_z == b.m_z && - a.surface == b.surface) { + a.surface == b.surface && a.varianceR == b.varianceR && + a.varianceZ == b.varianceZ) { return true; } else { return false; diff --git a/Tests/UnitTests/Plugins/Cuda/Seeding/SpacePoint.hpp b/Tests/UnitTests/Plugins/Cuda/Seeding/SpacePoint.hpp index 0e21b19f685..4d93b1c767b 100644 --- a/Tests/UnitTests/Plugins/Cuda/Seeding/SpacePoint.hpp +++ b/Tests/UnitTests/Plugins/Cuda/Seeding/SpacePoint.hpp @@ -23,7 +23,9 @@ struct SpacePoint { }; bool operator==(SpacePoint a, SpacePoint b) { - if (a.m_x == b.m_x && a.m_y == b.m_y && a.m_z == b.m_z) { + if (a.m_x == b.m_x && a.m_y == b.m_y && a.m_z == b.m_z && + a.surface == b.surface && a.varianceR == b.varianceR && + a.varianceZ == b.varianceZ) { return true; } else { return false;