complete part 10
[rust-101.git] / src / part08.rs
index 2867a588883308914a44474de0fac81ab70039bd..d6b6782e5fb5d2f42e11d073a3182894acd9b96c 100644 (file)
@@ -118,7 +118,9 @@ impl<'a, 'b> ops::Add<&'a BigInt> for &'b BigInt {
 //@ Rust would not bother compiling them when you just build your program for normal use. Other than that, tests work as usually.
 #[cfg(test)]
 mod tests {
-    #[test]
+    use part05::BigInt;
+
+    /*#[test]*/
     fn test_add() {
         let b1 = BigInt::new(1 << 32);
         let b2 = BigInt::from_vec(vec![0, 1]);