mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Fix CSV translation not updating after reimport
This commit is contained in:
@@ -238,4 +238,20 @@ TEST_CASE("[HashSet] Copy") {
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[HashSet] Equality") {
|
||||
// Empty sets.
|
||||
CHECK(HashSet<int>{} == HashSet<int>{});
|
||||
CHECK(HashSet<int>{} != HashSet<int>{ 1, 2, 3 });
|
||||
CHECK(HashSet<int>{ 1, 2, 3 } != HashSet<int>{});
|
||||
|
||||
// Different length.
|
||||
CHECK(HashSet<int>{ 1, 2, 3 } != HashSet<int>{ 1, 2, 3, 4 });
|
||||
CHECK(HashSet<int>{ 1, 2, 3, 4 } != HashSet<int>{ 4, 3, 2 });
|
||||
|
||||
// Same length.
|
||||
CHECK(HashSet<int>{ 1, 2, 3 } == HashSet<int>{ 1, 2, 3 });
|
||||
CHECK(HashSet<int>{ 1, 2, 3 } == HashSet<int>{ 3, 2, 1 });
|
||||
CHECK(HashSet<int>{ 1, 2, 3 } != HashSet<int>{ 1, 2, 8 });
|
||||
}
|
||||
|
||||
} // namespace TestHashSet
|
||||
|
||||
Reference in New Issue
Block a user