Package-level declarations

Testing utilities for Glimpse classes.

Types

Link copied to clipboard
enum Delta : Enum<Delta>

Delta for inaccurate assertions.

Functions

Link copied to clipboard
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: Double, actual: Double, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: Float, actual: Float, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Double>>, actual: List<<Error class: unknown class><Double>>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Float>>, actual: List<<Error class: unknown class><Float>>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Double>>, actual: List<<Error class: unknown class><Double>>, delta: Delta = Delta.MEDIUM, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Float>>, actual: List<<Error class: unknown class><Float>>, delta: Delta = Delta.MEDIUM, message: String? = null)

Asserts that the actual value is equal to the expected value plus/minus delta, with an optional message.

fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.FINE, message: String? = null)

Asserts that the actual matrix is equal to the expected matrix plus/minus delta (compared per element), with an optional message.

fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Double>, actual: <Error class: unknown class><Double>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: <Error class: unknown class><Float>, actual: <Error class: unknown class><Float>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Double>>, actual: List<<Error class: unknown class><Double>>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Float>>, actual: List<<Error class: unknown class><Float>>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Double>>, actual: List<<Error class: unknown class><Double>>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Float>>, actual: List<<Error class: unknown class><Float>>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Double>>, actual: List<<Error class: unknown class><Double>>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: List<<Error class: unknown class><Float>>, actual: List<<Error class: unknown class><Float>>, delta: Delta = Delta.FINE, message: String? = null)

Asserts that the actual vector is equal to the expected vector plus/minus delta (compared per coordinate), with an optional message.

fun assertEqualsWithDelta(expected: List<Double>, actual: List<Double>, delta: Delta = Delta.FINE, message: String? = null)
fun assertEqualsWithDelta(expected: List<Float>, actual: List<Float>, delta: Delta = Delta.FINE, message: String? = null)

Asserts that the actual values are equal to the expected values plus/minus delta, with an optional message.