10 lines
178 B
Rust
10 lines
178 B
Rust
|
#[cfg(test)]
|
||
|
mod example {
|
||
|
use day38::get_money_spent;
|
||
|
|
||
|
#[test]
|
||
|
fn test() {
|
||
|
assert_eq!(get_money_spent(&[40, 50, 60], vec![5, 8, 12], 60), Some(58));
|
||
|
}
|
||
|
}
|