Anthony Towns
7565563bc7
tests: refactor versionbits fuzz test
...
Test `VersionBitsConditionChecker` behaviour directly, rather than
reimplementing it, thus slightly improving fuzz test coverage of the
real code.
2025-01-21 00:38:03 +10:00
Anthony Towns
2e4e9b9608
tests: refactor versionbits unit test
...
Base the unit test directly on `VersionBitsConditionChecker`, slightly
improving coverage, in particular adding coverage for the the logic
regarding setting the TOP_BITS.
2025-01-21 00:38:03 +10:00
Anthony Towns
525c00f91b
versionbits: Expose VersionBitsConditionChecker via impl header
2025-01-21 00:38:03 +10:00
Anthony Towns
e74a7049b4
versionbits: Expose StateName function
...
Rather than essentially duplicating StateName in the unit tests, expose
it via the impl header.
2025-01-21 00:38:03 +10:00
Anthony Towns
d00d1ed52c
versionbits: Split out internal details into impl header
2025-01-21 00:38:03 +10:00