gen.actions: Generate a list of possible actions.

Description Usage Arguments Value

View source: R/state.R

Description

Generate a list of possible actions.

Usage

1
gen.actions(initial.state, commands)

Arguments

initial.state

the starting state to build from which is appropriate for this state machine generator.

commands

the list of commands which we can select choose from. Only commands appropriate for the state will actually be selected.

Value

a list of actions to run during testing


hedgehog documentation built on May 2, 2019, 11:27 a.m.