Fix reinforcement slot index after MAX_UNITS refactor; align E2E freeze-tint sampling
This commit is contained in:
@@ -133,10 +133,10 @@ TEST(e2e/boot_and_controls)
|
||||
// color 0x1F1F is never rendered (transparency held). Sampled on the
|
||||
// left side of the top wall row, away from the top-right anchored
|
||||
// "* TACTICAL FREEZE *" text, so font metric drift can't leak in.
|
||||
EXPECT(test::pixelIs565(10, 0, 0x0000)); // stripe dot (2,0)
|
||||
EXPECT(test::pixelIs565(10, 8, 0x0000)); // stripe dot (2,0) of cell row 1
|
||||
EXPECT(test::pixelIs565(9, 1, 0x0000)); // stripe dot (1,1)
|
||||
EXPECT(test::pixelIs565(8, 2, 0x0000)); // stripe dot (0,2)
|
||||
EXPECT(!test::pixelIs565(12, 0, 0x0000)); // off-stripe: frozen view
|
||||
EXPECT(!test::pixelIs565(12, 8, 0x0000)); // off-stripe: frozen view
|
||||
EXPECT(!test::pixelIs565(12, 0, 0x1F1F)); // key color never rendered
|
||||
for (int yy = 0; yy < 8; yy++)
|
||||
for (int xx = 8; xx < 16; xx++)
|
||||
@@ -154,7 +154,7 @@ TEST(e2e/network_journey)
|
||||
EXPECT(pumpUntil(30.0, spikeSeen)); // ... trace ... feedback spike
|
||||
EXPECT(test::serialHas("[spawn] reinforcement droid"));
|
||||
stepTicks(1);
|
||||
EXPECT(units[6].alive);
|
||||
EXPECT(units[7].alive);
|
||||
EXPECT(heatT > 0); // OVERHEAT lockout engaged
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ TEST(integration/full_network_journey)
|
||||
EXPECT(traceActive);
|
||||
stepTicks(TRACE_TICKS);
|
||||
EXPECT(heatT > 0); // feedback spike cooldown
|
||||
EXPECT(units[6].alive); // reinforcement spawned
|
||||
EXPECT(units[7].alive); // reinforcement spawned
|
||||
EXPECT(!nodeOnline[N_JUNC]); // spike dropped the net
|
||||
}
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ TEST(unit/ice_trace_feedback_reinforcement)
|
||||
EXPECT(linkIdx(0) < 0 && linkIdx(1) < 0 && linkIdx(2) < 0);
|
||||
EXPECT(!nodeOnline[N_JUNC]); // everything past root drops
|
||||
EXPECT(nodeOnline[N_AIRLK]);
|
||||
EXPECT(units[6].alive); // reinforcement droid spawned
|
||||
EXPECT(units[7].alive); // reinforcement droid spawned
|
||||
}
|
||||
|
||||
TEST(unit/overheat_gates_daemons_and_sever)
|
||||
|
||||
Reference in New Issue
Block a user