refactor: fleet/group AtPlanet
This commit is contained in:
@@ -244,6 +244,6 @@ func TestShipGroupEqual(t *testing.T) {
|
||||
|
||||
// dirty hack to equalize loads
|
||||
left.Number = 5
|
||||
left.Load = game.F(right.Load.F() / float64(right.Number) * float64(left.Number))
|
||||
left.Load = game.F(float64(right.Load) / float64(right.Number) * float64(left.Number))
|
||||
assert.True(t, left.Equal(right))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user