From 2e97a9648b26345bf7362a78aaf47c91ad395fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 28 Mar 2019 19:08:56 +0000 Subject: [PATCH] Update main.rs --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bad9f33..a1fd66d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,7 +121,7 @@ mod tests { #[test] fn test_persistance() { - assert_eq!(BigUint::from(0u8).per_mul(), 0); + assert_eq!(BigUint::from(0u8).per_mul(), 1); assert_eq!(BigUint::from(10u8).per_mul(), 1); assert_eq!(BigUint::from(25u8).per_mul(), 2); assert_eq!(BigUint::from(39u8).per_mul(), 3);