-
-
Save yermilov/e1b620606c7739f3db9f5e47c6fe413c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TiebreakerKey28 key1 = new TiebreakerKey28(value: 28) | |
TiebreakerKey28 key2 = new TiebreakerKey28(value: 28) | |
assert key1 == key2 | |
assert System.identityHashCode(key1) == System.identityHashCode(key2) | |
// Assertion failed: | |
// | |
// assert System.identityHashCode(key1) == System.identityHashCode(key2) | |
// | | | | | | |
// 1205406622 | false 293907205 TiebreakerKey28(28) | |
// TiebreakerKey28(28) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment