refactor: group launched/in_space state
This commit is contained in:
@@ -50,10 +50,7 @@ func TestCollectBombingGroups(t *testing.T) {
|
||||
|
||||
// 3: idx = 2 / In_Space
|
||||
assert.NoError(t, c.CreateShips(Race_0_idx, Race_0_Gunship, R0_Planet_0_num, 1))
|
||||
c.ShipGroup(2).StateInSpace = &game.InSpace{
|
||||
Origin: 2,
|
||||
Range: 31.337,
|
||||
}
|
||||
c.ShipGroup(2).StateInSpace = &InSpace
|
||||
|
||||
// 4: idx = 3 / Has no Ammo
|
||||
assert.NoError(t, c.CreateShips(Race_0_idx, Race_0_Freighter, R0_Planet_0_num, 1))
|
||||
|
||||
Reference in New Issue
Block a user