()
| 19 | |
| 20 | #[test] |
| 21 | fn get_length() { |
| 22 | let new_vector = vector4::Vector4 { |
| 23 | x: 3.0, |
| 24 | y: 4.0, |
| 25 | z: 5.0, |
| 26 | w: 6.0, |
| 27 | }; |
| 28 | let tar: f32 = 9.273_619; |
| 29 | let res = new_vector.get_length(); |
| 30 | assert_approx_eq!(tar, res); |
| 31 | } |
| 32 | |
| 33 | #[test] |
| 34 | fn inner_product() { |
nothing calls this directly
no test coverage detected