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
Foreach Probability Chooser:
Determine that altering each Item's Weight results in the correct distribution over a large number of calls to GetChoice.
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