i6_timer/
create.rs

1
2
3
4
5
6
7
8
9
10
11
pub fn create_timer(minutes: &str, name: &str) {
  // Implement the create timer functionality here
  println!("Creating a timer named '{}' for {} minutes...", name, minutes);
}
#[test]
fn test_create_timer() {
  let minutes = "10";
  let name = "test";
  create_timer(minutes, name);
  // Add assertions here based on your implementation
}