Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Apr 9, 2024
1 parent 1055cfd commit df1b7b5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/math/src/tests/i257_test.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,6 @@ fn i257_test_is_zero() {
assert!(a.is_zero(), "should be true");
}

#[test]
#[should_panic(expected: ('no negative zero',))]
fn i257_test_is_zero_panic() {
let a = I257Impl::new(0, true);
let _x = a.is_zero();
}

#[test]
fn i257_test_div_no_rem() {
// Test division of positive integers
Expand Down Expand Up @@ -317,13 +310,6 @@ fn i257_test_equality() {
assert!(a != b, "-13 != -5");
}

#[test]
#[should_panic]
fn i257_test_check_sign_zero() {
let x = I257Impl::new(0, true);
i257_assert_no_negative_zero(x);
}

#[test]
fn i257_test_div_sign_zero() {
let x = I257Impl::new(0, false) / I257Impl::new(3, true);
Expand Down

0 comments on commit df1b7b5

Please sign in to comment.