Remove obsolete comments in the test

This commit is contained in:
Pavel Punegov
2021-01-20 19:26:33 +03:00
committed by Nikolay Krasko
parent 6cc74a1b66
commit 73297a4ef3
@@ -68,10 +68,8 @@ fun run() {
// hashCode (directly): // hashCode (directly):
// hash() returns value of NSUInteger type. // hash() returns value of NSUInteger type.
val hash = if (sizeOf<NSUIntegerVar>() == 4L) { val hash = if (sizeOf<NSUIntegerVar>() == 4L) {
// `typedef unsigned int NSInteger` on watchOS.
foo.hash().toInt() foo.hash().toInt()
} else { } else {
// `typedef unsigned long NSUInteger` on iOS, macOS, tvOS.
foo.hash().let { it.toInt() xor (it shr 32).toInt() } foo.hash().let { it.toInt() xor (it shr 32).toInt() }
} }
if (foo.hashCode() == hash) { if (foo.hashCode() == hash) {