lol idk #1

Open
Quaternions wants to merge 828 commits from StrafesNET/strafe-project:master into master
Showing only changes of commit 9266edbf92 - Show all commits

View File

@ -20,6 +20,11 @@ fn test_sqrt(){
assert_eq!(a.sqrt(),I32F32::from(2)); assert_eq!(a.sqrt(),I32F32::from(2));
} }
#[test] #[test]
fn test_sqrt_zero(){
let a=I32F32::ZERO;
assert_eq!(a.sqrt(),I32F32::ZERO);
}
#[test]
fn test_sqrt_low(){ fn test_sqrt_low(){
let a=I32F32::HALF; let a=I32F32::HALF;
let b=a*a; let b=a*a;