See how the Rust port checks its payloads, QR module matrices, and rendering against the PHP release.
The reference is simplesoftwareio/simple-qrcode 4.2.0 and BaconQrCode 2.0.8. The PHP generator runs in a pinned image and records the relevant versions with its fixtures. Rust and Go use the same PHP fixtures.
Encoding tests check the decoded bytes and mode, correction level, ECI, version, and mask. Where the encoded bytes, mode, ECI, and error-correction level agree, tests force PHP's version and mask and compare every module. Renderer tests check dimensions, module placement, colors, and alpha. Image serialization and anti-aliasing can differ between implementations.
The coverage matrix links the tests for covered abilities and explains intentional differences. Gradients, module styles, finder options, and merged logos are planned.