Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4d6514

Browse files
Merge pull request BehaviorTree#756 from imere/imere-patch-1
fix(test): Typo in gtest_blackboard.cpp
2 parents 2c2efef + 67d85cb commit d4d6514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/gtest_blackboard.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,9 @@ class ComparisonNode : public BT::ConditionNode
423423
if( (inputOperator == "==" && firstValue == secondValue) ||
424424
(inputOperator == "!=" && firstValue != secondValue) ||
425425
(inputOperator == "<=" && firstValue <= secondValue) ||
426-
(inputOperator == ">=" && firstValue <= secondValue) ||
426+
(inputOperator == ">=" && firstValue >= secondValue) ||
427427
(inputOperator == "<" && firstValue < secondValue) ||
428-
(inputOperator == ">" && firstValue < secondValue) )
428+
(inputOperator == ">" && firstValue > secondValue) )
429429
{
430430
return BT::NodeStatus::SUCCESS;
431431
}

0 commit comments

Comments
 (0)