diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-08-15 14:20:16 -0700 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-08-15 14:20:16 -0700 |
| commit | 9fa4eb9aab4790ab370c92790de4f001eb50871e (patch) | |
| tree | 5bffa4209a5cf95ef4e77cb49c0aa77cb458c141 /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | |
| parent | 18ac8bf4055093d5aece0e631d04e4d38ec8f0c6 (diff) | |
Use 'contains' method
Diffstat (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp')
| -rw-r--r-- | Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp index 09d6ce3be5..b7850e85a3 100644 --- a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp +++ b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp @@ -28,13 +28,13 @@ TEST(VertexLoaderUID, UniqueEnough) vtx_desc.low.Hex = 0x76543210; vtx_desc.high.Hex = 0xFEDCBA98; - EXPECT_EQ(uids.end(), uids.find(VertexLoaderUID(vtx_desc, vat))); + EXPECT_FALSE(uids.contains(VertexLoaderUID(vtx_desc, vat))); uids.insert(VertexLoaderUID(vtx_desc, vat)); vat.g0.Hex = 0xFFFFFFFF; vat.g1.Hex = 0xFFFFFFFF; vat.g2.Hex = 0xFFFFFFFF; - EXPECT_EQ(uids.end(), uids.find(VertexLoaderUID(vtx_desc, vat))); + EXPECT_FALSE(uids.contains(VertexLoaderUID(vtx_desc, vat))); uids.insert(VertexLoaderUID(vtx_desc, vat)); } |
