blob: 55e4f07cd0cc3b8f811f95f55743d07f8e881694 [file] [log] [blame]
mod _common;
use std::char;
use _common::validate;
fn main() {
for n in 0..10 {
let digit = char::from_digit(n, 10).unwrap();
let mut s = "0.".to_string();
for _ in 0..400 {
s.push(digit);
if s.parse::<f64>().is_ok() {
validate(&s);
}
}
}
}