()
| 2330 | |
| 2331 | #[test] |
| 2332 | fn test_compute_rotated_aabb_zero() { |
| 2333 | use math::compute_rotated_aabb; |
| 2334 | use layout::CornerRadius; |
| 2335 | let cr = CornerRadius::default(); |
| 2336 | let (w, h) = compute_rotated_aabb(100.0, 50.0, &cr, 0.0); |
| 2337 | assert_eq!(w, 100.0); |
| 2338 | assert_eq!(h, 50.0); |
| 2339 | } |
| 2340 | |
| 2341 | #[test] |
| 2342 | fn test_compute_rotated_aabb_90() { |
nothing calls this directly
no test coverage detected