Comparing

class Comparing<T : Comparable<T>>(val value: T, val type: ArgMatcher.Comparing.Type) : ArgMatcher<T>

Matches any Comparable depending on type parameter.

Constructors

Link copied to clipboard
constructor(value: T, type: ArgMatcher.Comparing.Type)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val value: T

Functions

Link copied to clipboard
open override fun matches(arg: T): Boolean
Link copied to clipboard

Helper function to propagate capture for dev.mokkery.matcher.ArgMatcher.Composite.

Link copied to clipboard
open override fun toString(): String