Convert other exercises that have assertions to test mode
This commit is contained in:
1 parent
16936d95d1
commit
193b600382
4 files changed
+6
-3
No files matched your search
@@ -35,6 +35,7 @@ impl Planet {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn main() {
|
||||
let sun = Rc::new(Sun {});
|
||||
println!("reference count = {}", Rc::strong_count(&sun)); // 1 reference
|
||||
|
||||
Reference in new issue
Block a user