public void IsFulfilledFalseExpressionTest() { _ifExpression = "a && b && c && !d"; _actionReleasesIfRecord = new ActionReleasesIfRecord(_worldAction, _fluent, _ifExpression); bool result = _actionReleasesIfRecord.IsFulfilled(_state, _worldAction); Assert.IsFalse(result); }
public void IsFulfilledWrongActionDurationTest() { _ifExpression = "a && b && c && d"; _actionReleasesIfRecord = new ActionReleasesIfRecord(_worldAction, _fluent, _ifExpression); _endedWorldAction = new WorldAction(_idWorldAction, _startTime, 7); bool result = _actionReleasesIfRecord.IsFulfilled(_state, _endedWorldAction); Assert.IsFalse(result); }