fun <T> Assert<Array<T>>.index(index: Int, f: (Assert<T>) -> Unit): UnitPlatform and version requirements: Common
Returns an assert that assertion on the value at the given index in the array.
assertThat(arrayOf(0, 1, 2)).index(1) { it.isPositive() }
fun <T> Assert<Array<T>>.index(index: Int): Assert<T>
Platform and version requirements: Common
Returns an assert that assertion on the value at the given index in the array.
assertThat(arrayOf(0, 1, 2)).index(1).isPositive()
fun <T> Assert<List<T>>.index(index: Int, f: (Assert<T>) -> Unit): UnitPlatform and version requirements: Common
Returns an assert that assertion on the value at the given index in the list.
assertThat(listOf(0, 1, 2)).index(1) { it.isPositive() }
fun <T> Assert<List<T>>.index(index: Int): Assert<T>
Platform and version requirements: Common
Returns an assert that assertion on the value at the given index in the list.
assertThat(listOf(0, 1, 2)).index(1).isPositive()
@JvmName("byteArrayIndexOld") fun Assert<ByteArray>.index(index: Int, f: (Assert<Byte>) -> Unit): UnitReturns an assert that assertion on the value at the given index in the array.
assertThat(byteArrayOf(0, 1, 2)).index(1) { it.isPositive() }
@JvmName("byteArrayIndex") fun Assert<ByteArray>.index(index: Int): Assert<Byte>
Returns an assert that assertion on the value at the given index in the array.
assertThat(byteArrayOf(0, 1, 2)).index(1).isPositive()
@JvmName("intArrayIndexOld") fun Assert<IntArray>.index(index: Int, f: (Assert<Int>) -> Unit): UnitReturns an assert that assertion on the value at the given index in the array.
assertThat(intArrayOf(0, 1, 2)).index(1) { it.isPositive() }
@JvmName("intArrayIndex") fun Assert<IntArray>.index(index: Int): Assert<Int>
Returns an assert that assertion on the value at the given index in the array.
assertThat(intArrayOf(0, 1, 2)).index(1).isPositive()
@JvmName("shortArrayIndexOld") fun Assert<ShortArray>.index(index: Int, f: (Assert<Short>) -> Unit): UnitReturns an assert that assertion on the value at the given index in the array.
assertThat(shortArrayOf(0, 1, 2)).index(1) { it.isPositive() }
@JvmName("shortArrayIndex") fun Assert<ShortArray>.index(index: Int): Assert<Short>
Returns an assert that assertion on the value at the given index in the array.
assertThat(shortArrayOf(0, 1, 2)).index(1).isPositive()
@JvmName("longArrayIndexOld") fun Assert<LongArray>.index(index: Int, f: (Assert<Long>) -> Unit): UnitReturns an assert that assertion on the value at the given index in the array.
assertThat(longArrayOf(0, 1, 2)).index(1) { it.isPositive() }
@JvmName("longArrayIndex") fun Assert<LongArray>.index(index: Int): Assert<Long>
Returns an assert that assertion on the value at the given index in the array.
assertThat(longArrayOf(0, 1, 2)).index(1).isPositive()
@JvmName("floatArrayIndexOld") fun Assert<FloatArray>.index(index: Int, f: (Assert<Float>) -> Unit): UnitReturns an assert that assertion on the value at the given index in the array.
assertThat(floatArrayOf(0, 1, 2)).index(1) { it.isPositive() }
@JvmName("floatArrayIndex") fun Assert<FloatArray>.index(index: Int): Assert<Float>
Returns an assert that assertion on the value at the given index in the array.
assertThat(floatArrayOf(0, 1, 2)).index(1).isPositive()
@JvmName("doubleArrayIndexOld") fun Assert<DoubleArray>.index(index: Int, f: (Assert<Double>) -> Unit): UnitReturns an assert that assertion on the value at the given index in the array.
assertThat(doubleArrayOf(0, 1, 2)).index(1) { it.isPositive() }
@JvmName("doubleArrayIndex") fun Assert<DoubleArray>.index(index: Int): Assert<Double>
Returns an assert that assertion on the value at the given index in the array.
assertThat(doubleArrayOf(0, 1, 2)).index(1).isPositive()
@JvmName("charArrayIndexOld") fun Assert<CharArray>.index(index: Int, f: (Assert<Char>) -> Unit): UnitReturns an assert that assertion on the value at the given index in the array.
assertThat(charArrayOf(0, 1, 2)).index(1) { it.isPositive() }
@JvmName("charArrayIndex") fun Assert<CharArray>.index(index: Int): Assert<Char>
Returns an assert that assertion on the value at the given index in the array.
assertThat(charArrayOf(0, 1, 2)).index(1).isPositive()