ac5d1a5f

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

Add structural invariant tests for register blocks

For every single-currency register test case, assert:
- Running average at block i equals runningTotal / i
- Running total equals cumulative sum of block totals
- Block titles are in strictly increasing order
- Empty blocks have zero total and same running total as previous

These tests verify the register logic independently of golden text
output, catching bugs even when golden files are reset.

Suite timing

Time to Start Worker time Duration Time to finish
Config 3h02m47s 3s 3s 3h02m50s
Eval 3h03m46s 51s 51s 3h04m37s
Build 3h16m53s 3m15s 3m17s 3h20m10s
Test - - - -
Deploy - - - -
Suite 3h02m47s 4m09s 17m23s 3h20m10s

Timeline

0s3h4m3h4m3h17m3h17m3h17m3h18m3h18m3h18m3h19m3h19m3h19m3h20m