Skip to content

Commit 60140c3

Browse files
committed
Removed unecessary test
Parent tasks without children are never run since they return as disabled when appended to the tree
1 parent a556135 commit 60140c3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Assets/FluidBehaviorTree/Editor/Testing/ParentTasks/SelectorTest.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ public void CheckUpdateCalls (List<int> updateCalls) {
2222
}
2323
}
2424

25-
public class NoNodes : UpdateMethod {
26-
public void Returns_success () {
27-
Assert.AreEqual(TaskStatus.Success, _selector.Update());
28-
}
29-
}
30-
3125
public class SingleNode : UpdateMethod {
3226
[Test]
3327
public void Returns_success_if_a_child_task_returns_success () {

0 commit comments

Comments
 (0)