Added test
Rust Build / Check (pull_request) Successful in 27s
Rust Build / Test Suite (pull_request) Successful in 28s
Rust Build / Clippy (pull_request) Successful in 49s
Rust Build / Rustfmt (pull_request) Successful in 29s
Rust Build / build (pull_request) Successful in 26s

This commit is contained in:
2026-06-06 12:58:46 -04:00
parent 91570b55b9
commit 292566371f
+13
View File
@@ -166,3 +166,16 @@ impl NumberParser {
parsed
}
}
mod tests {
#[test]
fn test_file_dump() {
let filename = String::from("tests/numbers-0.txt");
let file_exists = {
let path = std::path::Path::new(filename.as_str());
path.exists()
};
assert_eq!(true, file_exists, "File does not exists {filename:?}");
}
}