test: FleetSpeedAndMass

This commit is contained in:
IliaDenisov
2026-02-06 19:52:47 +03:00
parent 3dd0440832
commit 93baafe2a0
3 changed files with 44 additions and 2 deletions
-1
View File
@@ -81,7 +81,6 @@ func (c *Cache) FleetState(fleetID uuid.UUID) FleetState {
return *fs
}
// TODO: Hello! Wanna know fleet's speed? Good. Implement & test this func first.
func (c *Cache) FleetSpeedAndMass(fi int) (float64, float64) {
c.validateFleetIndex(fi)
speed := math.MaxFloat64