assertk / assertk.assertions / hasSameSizeAs

hasSameSizeAs

(common, jvm) @JvmName("byteArrayHasSameSizeAs") fun Assert<ByteArray>.hasSameSizeAs(other: ByteArray): Unit

Asserts the ByteArray has the same size as the expected array.

(common, jvm) @JvmName("intArrayHasSameSizeAs") fun Assert<IntArray>.hasSameSizeAs(other: IntArray): Unit

Asserts the IntArray has the same size as the expected array.

(common, jvm) @JvmName("shortArrayHasSameSizeAs") fun Assert<ShortArray>.hasSameSizeAs(other: ShortArray): Unit

Asserts the ShortArray has the same size as the expected array.

(common, jvm) @JvmName("longArrayHasSameSizeAs") fun Assert<LongArray>.hasSameSizeAs(other: LongArray): Unit

Asserts the LongArray has the same size as the expected array.

(common, jvm) @JvmName("floatArrayHasSameSizeAs") fun Assert<FloatArray>.hasSameSizeAs(other: FloatArray): Unit

Asserts the FloatArray has the same size as the expected array.

(common, jvm) @JvmName("doubleArrayHasSameSizeAs") fun Assert<DoubleArray>.hasSameSizeAs(other: DoubleArray): Unit

Asserts the DoubleArray has the same size as the expected array.

(common, jvm) @JvmName("charArrayHasSameSizeAs") fun Assert<CharArray>.hasSameSizeAs(other: CharArray): Unit

Asserts the CharArray has the same size as the expected array.

(common, jvm) fun Assert<Array<*>>.hasSameSizeAs(other: Array<*>): Unit

Asserts the array has the same size as the expected array.

(common, jvm) fun Assert<Collection<*>>.hasSameSizeAs(other: Collection<*>): Unit

Asserts the collection has the same size as the expected collection.

(common, jvm) fun Assert<Map<*, *>>.hasSameSizeAs(other: Map<*, *>): Unit

Asserts the map has the same size as the expected map.