SpannedSubject.RelativeSized


interface SpannedSubject.RelativeSized


Allows assertions about the relative size of a span.

Summary

Public functions

SpannedSubject.AndSpanFlags!
withSizeChange(sizeChange: Float)

Checks that at least one of the matched spans has the expected sizeChange.

Public functions

withSizeChange

fun withSizeChange(sizeChange: Float): SpannedSubject.AndSpanFlags!

Checks that at least one of the matched spans has the expected sizeChange.

Parameters
sizeChange: Float

The expected size change.

Returns
SpannedSubject.AndSpanFlags!

A WithSpanFlags object for optional additional assertions on the flags.