NodeOutputPair

inner class NodeOutputPair<I, O>(val node: NodeReference<I, O>, val input: I)(source)

Represents a pairing of a specific node reference and its corresponding input. This is used to define the expected output for a given input within the context of a specific node.

Parameters

I

The type of the input for the node.

O

The type of the output for the node.

Constructors

Link copied to clipboard
constructor(node: NodeReference<I, O>, input: I)

Properties

Link copied to clipboard
val input: I

The input associated with the node.

Link copied to clipboard

The reference to the specific node.

Functions

Link copied to clipboard
infix fun outputs(output: O)

Asserts that the output of the current node given the specified input matches the expected output.