mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix CSV translation not updating after reimport
This commit is contained in:
parent
46c495ca21
commit
296aba7dc5
7 changed files with 110 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue