()
| 14 | |
| 15 | #[test] |
| 16 | fn get_length() { |
| 17 | let new_vector = vector2::Vector2 { x: 3.0, y: 4.0 }; |
| 18 | let tar: f32 = 5.0; |
| 19 | let res = new_vector.get_length(); |
| 20 | assert_approx_eq!(tar, res); |
| 21 | } |
| 22 | |
| 23 | #[test] |
| 24 | fn inner_product() { |
nothing calls this directly
no test coverage detected