feat: completed tests

This commit is contained in:
2026-09-13 01:13:24 +02:00
parent c7f0365fec
commit 5c1324aae8
3 changed files with 11 additions and 8 deletions
+4 -4
View File
@@ -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(2), 4);
assert_eq!(power_of_2(3), 8);
assert_eq!(power_of_2(10), 1024);
assert_eq!(power_of_2(42), 4398046511104);
}
}