From a18c8ddf594a117c2f630545673e140f20731848 Mon Sep 17 00:00:00 2001 From: kngwyu Date: Sat, 28 Sep 2019 21:22:26 +0900 Subject: [PATCH] Fix typos in BigInt tests --- src/types/num.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/num.rs b/src/types/num.rs index 7e7f2150ee9..002c8ac4291 100644 --- a/src/types/num.rs +++ b/src/types/num.rs @@ -363,7 +363,7 @@ mod bitint_conversion { let locals = PyDict::new(py); locals.set_item("rs_result", &rs_result).unwrap(); locals.set_item("fib", fib).unwrap(); - // Checks if Rust BitUint -> Python Long conversion is correct + // Checks if Rust BigUint -> Python Long conversion is correct py.run("assert fib.fib(400) == rs_result", None, Some(locals)) .unwrap(); // Checks if Python Long -> Rust BigUint conversion is correct if N is small @@ -386,7 +386,7 @@ mod bitint_conversion { let locals = PyDict::new(py); locals.set_item("rs_result", &rs_result).unwrap(); locals.set_item("fib", fib).unwrap(); - // Checks if Rust BitInt -> Python Long conversion is correct + // Checks if Rust BigInt -> Python Long conversion is correct py.run("assert fib.fib_neg(400) == rs_result", None, Some(locals)) .unwrap(); // Checks if Python Long -> Rust BigInt conversion is correct if N is small