Skip to content

Commit 67fde10

Browse files
committed
Tests: pin Aztec binary-run entry tie behaviour
Entry to a binary run can tie between origins whose backto states differ; the single kept candidate determines the resumption mode and can cost a few bits against the alternative. Pin the chosen encoding for a minimal such case.
1 parent ed06400 commit 67fde10

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/ps_tests/azteccode.ps.test

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,3 +1226,11 @@ uk.co.terryburton.bwipp.global_ctx /azteccode.cachelimit undef % Remove to rest
12261226
{
12271227
(AB^ECI000003. CD) (parsefnc debugcws) azteccode
12281228
} [ 4 12 1 1 42 1 12 33 31 ] debugIsEqual
1229+
1230+
% Entry to a binary run can tie between origins with different backto
1231+
% states; only one candidate is kept, so the adopted resumption mode can
1232+
% cost a few bits against the alternative on some inputs. Pin the chosen
1233+
% encoding for a minimal such case.
1234+
{
1235+
(^038^044^047^038^096^032^058^058^032^206^050^050) (parse debugcws) azteccode
1236+
} [ 59 57 28 26 11 62 59 32 8 10 32 11 60 30 28 25 6 23 ] debugIsEqual

0 commit comments

Comments
 (0)