Wear 10× slower — maintenance lasts longer (ISS-085, v0.43.0)
CI / build + unit + e2e (pull_request) Successful in 8m4s
CI / build + unit + e2e (pull_request) Successful in 8m4s
This commit is contained in:
@@ -407,7 +407,7 @@ describe('wear on landed legs + broken burn (v0.39.0, ISS-069)', () => {
|
||||
expect(await deliverPackages(inst, T0 + travelMs(km, PLANE_TYPES.atr72.speedKmh))).toBe(1);
|
||||
|
||||
const plane = (await inst.db.select().from(schema.planes))[0];
|
||||
expect(plane.health).toBeCloseTo(100 - WEAR_PER_KM * km, 9); // one mid-range hop ≈ −9.8 health
|
||||
expect(plane.health).toBeCloseTo(100 - WEAR_PER_KM * km, 9); // one mid-range hop ≈ −0.98 health (v0.43.0, ISS-085)
|
||||
});
|
||||
|
||||
it('clamps at 0 across multiple legs', async () => {
|
||||
|
||||
Reference in New Issue
Block a user