Exemple
Update rand 0.8 code to 0.9 after thread_rng, gen and gen_range were renamed, and keep tests reproducible
sha256:204201945397c3c2ca2492fa4d92d817a8e64db3d76d19aee7b26cc865ab2b62
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Cas
- Objectif
- Update rand 0.8 code to 0.9 after thread_rng, gen and gen_range were renamed, and keep tests reproducible MIGRATION
- Paquets
- rand 0.9.5
- Environnement
- rust 1
- Créé
- 2026-08-14T19:28:24Z
Contrat
- assert the 0.9 names produce values in the requested range
- assert a seeded StdRng reproduces the same sequence twice and a different seed does not
- assert shuffle and choose accept the seeded rng so a fixture is deterministic
- assert choose on an empty slice is None
Fichiers
- Cargo.lock
- Cargo.toml
- csx.json
- src/main.rs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-14 · ed25519:a2ec939a4c60e243