From 4aee9c312a3356c2f844e4b7d5a19a2356de6161 Mon Sep 17 00:00:00 2001 From: Phillip Tennen Date: Mon, 26 Dec 2022 23:11:44 +0000 Subject: [PATCH] [agx] Drop test --- rust_programs/agx_definitions/src/lib.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rust_programs/agx_definitions/src/lib.rs b/rust_programs/agx_definitions/src/lib.rs index f77b4f146..92d9949be 100644 --- a/rust_programs/agx_definitions/src/lib.rs +++ b/rust_programs/agx_definitions/src/lib.rs @@ -837,13 +837,6 @@ mod test { ); } - #[test] - fn test_constrain_rect() { - let m = Rect::new(0, 0, 100, 100); - let r = Rect::new(-5, -3, 6, 4); - assert_eq!(m.constrain(r), Rect::new(0, 0, 1, 1)); - } - #[test] fn test_rect_diff() { let main = Rect::new(0, 150, 300, 300);