@JvmName("byteArrayContains") fun Assert<ByteArray>.contains(element: Byte): Unit
Asserts the ByteArray contains the expected element, using in.
See Also
@JvmName("intArrayContains") fun Assert<IntArray>.contains(element: Int): Unit
Asserts the IntArray contains the expected element, using in.
See Also
@JvmName("shortArrayContains") fun Assert<ShortArray>.contains(element: Short): Unit
Asserts the ShortArray contains the expected element, using in.
See Also
@JvmName("longArrayContains") fun Assert<LongArray>.contains(element: Long): Unit
Asserts the LongArray contains the expected element, using in.
See Also
@JvmName("floatArrayContains") fun Assert<FloatArray>.contains(element: Float): Unit
Asserts the FloatArray contains the expected element, using in.
See Also
@JvmName("doubleArrayContains") fun Assert<DoubleArray>.contains(element: Double): Unit
Asserts the DoubleArray contains the expected element, using in.
See Also
@JvmName("charArrayContains") fun Assert<CharArray>.contains(element: Char): Unit
Asserts the CharArray contains the expected element, using in.
See Also
fun Assert<Array<*>>.contains(element: Any?): Unit
Asserts the array contains the expected element, using in.
See Also
fun Assert<Iterable<*>>.contains(element: Any?): Unit
Asserts the iterable contains the expected element, using in.
See Also
fun <K, V> Assert<Map<K, V>>.contains(key: K, value: V): Unitfun <K, V> Assert<Map<K, V>>.contains(element: Pair<K, V>): Unit
Asserts the map contains the expected key-value pair.
See Also
fun Assert<String>.contains(expected: CharSequence, ignoreCase: Boolean = false): Unit
Asserts the string contains the expected substring.
ignoreCase - true to compare ignoring case, the default if false.
fun Assert<String>.contains(vararg expected: CharSequence, ignoreCase: Boolean = false): Unit
Asserts the string contains the expected substring(s).
ignoreCase - true to compare ignoring case, the default if false.
fun Assert<String>.contains(expected: Iterable<CharSequence>, ignoreCase: Boolean = false): Unit
Asserts the string contains the expected strings.
ignoreCase - true to compare ignoring case, the default if false.