Skip to content

EXTENSION

RenderTesterResult

Methods

assert(state:file:line:)

Verifies that the resulting state is equal to the given state.

assertStateModifications(file:line:_:)

Exhaustive state testing against the initial state. - Parameters: - modifications: A function that receives the initial state and is expected to mutate it to match the new state.

assert(output:file:line:)

Verifies that the resulting output is equal to the given output.