()
| 3 | |
| 4 | #[test] |
| 5 | fn test_getrandom() { |
| 6 | let mut buf = [0_u8; 256]; |
| 7 | let len = getrandom(&mut buf, GetRandomFlags::empty()).unwrap(); |
| 8 | assert!(len <= buf.len()); |
| 9 | } |
| 10 | |
| 11 | #[test] |
| 12 | fn test_getrandom_uninit() { |
nothing calls this directly
no test coverage detected