Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: uncomment passing test #581

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Ignore compiled files
target/

# Ignore build files
cairo2/
corelib/
cairo-*.tar
2 changes: 0 additions & 2 deletions cairo-tests/src/math_test.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ fn test_inv_mod() {
assert(math::inv_mod(nz(7), nz(1)) == Option::Some(0_usize), 'inv_mov(7, 1) != 0');
}

// TODO: Panicked with 0x36202f203220213d203320283729 ('6 / 2 != 3 (7)').
#[test]
#[ignore]
fn test_u256_div_mod_n() {
assert(math::u256_div_mod_n(6, 2, nz(7)) == Option::Some(3), '6 / 2 != 3 (7)');
assert(math::u256_div_mod_n(5, 1, nz(7)) == Option::Some(5), '5 / 1 != 5 (7)');
Expand Down
Loading