Test DUPN¶
Documentation for tests/osaka/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_dupn.py@49c766fb
.
Generate fixtures for these test cases for Osaka with:
fill -v tests/osaka/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_dupn.py --fork Osaka
Tests EIP-663: SWAPN, DUPN and EXCHANGE instructions
Tests for the DUPN instruction.
Test Functions Overview¶
Name | Type | Cases (Osaka) | Description |
---|---|---|---|
test_dupn_all_valid_immediates |
eof_state_test | 0 | Test case for all valid DUPN immediates. |
test_dupn_stack_underflow |
eof_test | 6 | Test case out of bounds DUPN immediate. |
test_dupn_stack_overflow |
eof_test | 4 | Test case where DUPN produces an stack overflow. |