Skip to content

Commit

Permalink
Fix typos in BigInt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kngwyu committed Sep 28, 2019
1 parent 094125c commit a18c8dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a18c8dd

Please sign in to comment.