tandem rng tandem-mlx GitHub

Tests

pixi run test
pixi run -e cross test    # also builds tandem-numpy from its repository and compares

Suite

tests/test_tandem.py checks:

tests/test_conformance.py reads the spec's conformance files and checks the items of its conformance/CHECKLIST.md at 2a4bd08:

Metal has no double type, so the Float64 cases and the long outputs of tandem-c's dump tools are not run, and MLX has no complex draws.

Fixtures

CI

CI runs pytest on macos-15 with Python 3.13 and on macos-latest with Python 3.14, with tandem-numpy built from source for the cross-check. A drift check fails when tests/vectors.json differs from the spec repository's file, or tests/conformance from the spec's conformance directory at 2a4bd08.