mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-08 03:39:18 +00:00
Force an answer to Q2 of quiz3
Add also an example of unimplemented!() macro.
This commit is contained in:
parent
be9510539e
commit
ac7e1cb9e5
@ -24,6 +24,7 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn returns_twice_of_negative_numbers() {
|
fn returns_twice_of_negative_numbers() {
|
||||||
// TODO write an assert for `times_two(-4)`
|
// TODO replace unimplemented!() with an assert for `times_two(-4)`
|
||||||
|
unimplemented!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user