oxedyne/fe2o3/fe2o3_namex/tests/genids.rs
290 bytes, 5 runs
created by r1870400018:527, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | use oxedyne_fe2o3_core::{ |
| 2 | prelude::*, |
| 3 | rand::RanDef, |
| 4 | }; |
| 5 | use oxedyne_fe2o3_namex::id; |
| 6 | |
| 7 | #[test] |
| 8 | fn genids() -> Outcome<()> { |
| 9 | |
| 10 | // Generate and print 10 random namex ids. |
| 11 | for _ in 0..9 { |
| 12 | let id = id::NamexId::randef(); |
| 13 | println!("{}", id); |
| 14 | } |
| 15 | |
| 16 | Ok(()) |
| 17 | } |