test fix better
This commit is contained in:
parent
934475b959
commit
bc773f7d45
@ -84,8 +84,8 @@ fn test_bint(){
|
||||
|
||||
#[test]
|
||||
fn test_fix(){
|
||||
let a=I32F32::ONE;
|
||||
assert_eq!(a.fix_8(),I256F256::ONE);
|
||||
assert_eq!(I32F32::ONE.fix_8(),I256F256::ONE);
|
||||
assert_eq!(I32F32::ONE,I256F256::ONE.fix_1());
|
||||
}
|
||||
#[test]
|
||||
fn test_sqrt(){
|
||||
|
Loading…
Reference in New Issue
Block a user