completed test part
This commit is contained in:
@@ -15,9 +15,9 @@ mod tests {
|
||||
#[test]
|
||||
fn you_can_assert_eq() {
|
||||
// TODO: Test the function `power_of_2` with some values.
|
||||
assert_eq!();
|
||||
assert_eq!();
|
||||
assert_eq!();
|
||||
assert_eq!();
|
||||
assert_eq!(power_of_2(3), 8);
|
||||
assert_eq!(power_of_2(4), 16);
|
||||
assert_eq!(power_of_2(3), 8);
|
||||
assert_eq!(power_of_2(2), 4);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user