diff --git a/src/main.rs b/src/main.rs index e03beb6..005d67d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,8 +12,8 @@ impl Rng { .unwrap() .subsec_nanos() as u64; // Allegedly - // It's XOR'd with the seed (`subsec_nanos()`) as a **mixing step** — - // the golden ratio has a property where it distributes bits very evenly across + // The magic number is XOR'd with the seed (`subsec_nanos()`) as a mixing step. + // "the golden ratio" has a property where it distributes bits very evenly across // the range, so even a low-entropy seed gets spread across all 64 bits // before the first LCG iteration runs Self { @@ -205,3 +205,16 @@ fn print_summary(stats: &[QuestionStats]) { ); println!("\nScore: {}/{}", perfect, stats.len()); } + +// tests +// * valid integer +// * some basic correctness of correct answers +// * some basic correctness of incorrect answers +// +// * invalid integer +// * float +// * different representation: hex, binary, octect +// * unicode +// * some specific attacks +// * multiple integers +//