100-exercises-to-learn-rust/exercises/02_basic_calculator/00_intro/src/lib.rs

15 lines
243 B
Rust

fn intro() -> &'static str {
// TODO: fix me 👇
"I'm ready to __!"
}
#[cfg(test)]
mod tests {
use crate::intro;
#[test]
fn test_intro() {
assert_eq!(intro(), "I'm ready to build a calculator in Rust!");
}
}