assertk / assertk.assertions / hasHashCode

hasHashCode

(common, jvm) fun Assert<Any>.hasHashCode(hashCode: Int): Unit

Asserts the value has the expected hash code from it's hashCode.