()
| 6 | |
| 7 | #[test] |
| 8 | fn get_squared_length() { |
| 9 | let new_vector = vector4::Vector4 { |
| 10 | x: 3.0, |
| 11 | y: 4.0, |
| 12 | z: 5.0, |
| 13 | w: 6.0, |
| 14 | }; |
| 15 | let tar: f32 = 86.0; |
| 16 | let res = new_vector.get_squared_length(); |
| 17 | assert_approx_eq!(tar, res); |
| 18 | } |
| 19 | |
| 20 | #[test] |
| 21 | fn get_length() { |
nothing calls this directly
no test coverage detected