Skip to content

Node Machine Unit Tests #1

@Timmoth

Description

@Timmoth

Foreach Probability Chooser:
Determine that altering each Item's Weight results in the correct distribution over a large number of calls to GetChoice.

  • All exceptions are raised as expected.
  • Total Weight

DeterministicChooser
That it returns the correct Choice given to the constructor.
That it returns the correct choice when updated through the Choice property.

Foreach Node:
OnVisited Fired
OnExited Fired
Moves to an expected node for a given Chooser
GetNextNodes returns expected nodes
ToString returns expected representation
Can update Chooser function

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions