File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
src/test/java/org/bk/ass/sim Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -875,7 +875,6 @@ void reaverVs9Lings() {
875
875
// THEN
876
876
assertThat (simulator .getAgentsA ()).isNotEmpty ();
877
877
assertThat (simulator .getAgentsB ()).isEmpty ();
878
-
879
878
}
880
879
881
880
@ Test
@@ -915,4 +914,21 @@ void lingsVsZealots_FS3() {
915
914
assertThat (simulator .getAgentsA ()).size ().isOne ();
916
915
assertThat (simulator .getAgentsB ()).size ().isZero ();
917
916
}
917
+
918
+ @ Test
919
+ void scourgesVsScouts () {
920
+ // GIVEN
921
+ simulator .addAgentA (factory .of (UnitType .Zerg_Scourge ).setX (100 ).setY (100 ));
922
+ simulator .addAgentA (factory .of (UnitType .Zerg_Scourge ).setX (100 ).setY (120 ));
923
+ simulator .addAgentA (factory .of (UnitType .Zerg_Scourge ).setX (100 ).setY (140 ));
924
+
925
+ simulator .addAgentB (factory .of (UnitType .Protoss_Scout ).setX (200 ).setY (100 ));
926
+
927
+ // WHEN
928
+ simulator .simulate (-1 );
929
+
930
+ // THEN
931
+ assertThat (simulator .getAgentsA ()).size ().isZero ();
932
+ assertThat (simulator .getAgentsB ()).size ().isZero ();
933
+ }
918
934
}
You can’t perform that action at this time.
0 commit comments