Skip to content

Commit

Permalink
[agx] Drop test
Browse files Browse the repository at this point in the history
  • Loading branch information
codyd51 committed Dec 26, 2022
1 parent d693aab commit 4aee9c3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rust_programs/agx_definitions/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4aee9c3

Please sign in to comment.