MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / test_compute_rotated_aabb_zero

Function test_compute_rotated_aabb_zero

src/lib.rs:2332–2339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

compute_rotated_aabbFunction · 0.85

Tested by

no test coverage detected