Namespace Xareus.Scenarios.Arithmetics
Classes
NumberBetweenSensor
Performs a comparison between one operands and two other operands
NumberEffector
Performs an arithmetical operation with one or two operands.
The expected parameters follow.
operand1
expects the first operand.
operand2
expects the second operand (only for binary operators).
operator
expects an arithmetical operator such as NEGATION, INCREMENT, DECREMENT, ADDITION, SUBSTRACTION, MULTIPLICATION or DIVISION.
result
expects either ScenarioContext.<key>
to impact the scenario context or SequenceContext.<place id>.<key>
to impact the sequence context.
NumberSensor
Performs a comparison operation between two operands.
The expected parameters follow.
operand1
expects the first operand.
operand2
expects the second operand.
operator
expects a comparison operator such as EQUAL, NOT_EQUAL, GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL_TO or LESS_THAN_OR_EQUAL_TO.
RandomNumberEffector
Gets a random number between the lower and upper bounds
Utils
Enums
NumberEffector.ArithmeticalOperator
The arithmetical operator
NumberSensor.ComparisonOperator
The comparison operator