Pratyush Mishra
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
curve-tests/src/fields.rs
|
|
@ -227,7 +227,7 @@ pub fn from_str_test() { |
|
|
|
let a = F::from_str(&ark_std::format!("{}", n))
|
|
|
|
.map_err(|_| ())
|
|
|
|
.unwrap();
|
|
|
|
let b = F::from_repr(n.into()).unwrap();
|
|
|
|
let b = F::from(n);
|
|
|
|
|
|
|
|
assert_eq!(a, b);
|
|
|
|
}
|
|
|
|