100-days-of-rust/Week-04/Day-22_Marcio-Mellos-Challenge/day22/tests/example.rs

10 lines
150 B
Rust
Raw Normal View History

#[cfg(test)]
mod example {
use day22::area_to_fields;
#[test]
fn example() {
assert_eq!(area_to_fields(1.034), 144.817);
}
}