diff options
| author | Tilka <tilkax@gmail.com> | 2024-08-16 18:31:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 18:31:07 +0100 |
| commit | d10c3aaf293d4a5bea332e426882dcb70b5b8b3e (patch) | |
| tree | 486c3c70304b20617470b0173cb9440f7cb2d55b /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | |
| parent | 7c21bcd991e38cceccfce7c47c21b1422261bdfe (diff) | |
| parent | de1c47a70192a594c2435daa14b58950a613e2ce (diff) | |
Merge pull request #13012 from mitaclaw/Use-contains-method-2
Use contains method 2
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)); } |
