Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
icemelon committed Mar 28, 2022
1 parent 208968b commit e9bb123
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 30 deletions.
6 changes: 6 additions & 0 deletions tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@
((1 << 256) - 1, 0),
(0, (1 << 256) - 1),
)


def generate_nasty_tests(tests, opcodes):
for opcode in opcodes:
for a, b in NASTY_AB_VALUES:
tests.append((opcode, a, b))
29 changes: 0 additions & 29 deletions tests/evm/common.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/evm/test_add_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RWDictionary,
)
from zkevm_specs.util import rand_fq, rand_word, RLC
from common import NASTY_AB_VALUES
from common import generate_nasty_tests


TESTING_DATA = [
Expand Down

0 comments on commit e9bb123

Please sign in to comment.