chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

18
vendor/getrandom/tests/sys_rng.rs vendored Normal file
View File

@@ -0,0 +1,18 @@
//! Tests for `SysRng`
#![cfg(feature = "sys_rng")]
use getrandom::SysRng;
use getrandom::rand_core::TryRng;
#[test]
fn test_sys_rng() {
let x = SysRng.try_next_u64().unwrap();
let y = SysRng.try_next_u64().unwrap();
assert!(x != 0);
assert!(x != y);
}
#[test]
fn test_construction() {
assert!(SysRng.try_next_u64().unwrap() != 0);
}