Test Function: test_mcopy_on_empty_memory()

Perform MCOPY operations on an empty memory, using different offsets and lengths.

Parametrized Test Cases

Test ID evm_code_type initial_memory length src dest
evm_code_type_LEGACY-empty_memory-length_0-src_0-dest_0 LEGACY 0 0 0
evm_code_type_LEGACY-empty_memory-length_0-src_0-dest_32 LEGACY 0 0 32
evm_code_type_LEGACY-empty_memory-length_0-src_32-dest_0 LEGACY 0 32 0
evm_code_type_LEGACY-empty_memory-length_0-src_32-dest_32 LEGACY 0 32 32
evm_code_type_LEGACY-empty_memory-length_1-src_0-dest_0 LEGACY 1 0 0
evm_code_type_LEGACY-empty_memory-length_1-src_0-dest_32 LEGACY 1 0 32
evm_code_type_LEGACY-empty_memory-length_1-src_32-dest_0 LEGACY 1 32 0
evm_code_type_LEGACY-empty_memory-length_1-src_32-dest_32 LEGACY 1 32 32
evm_code_type_LEGACY-empty_memory-length_0-src_0-dest_0 LEGACY 0 0 0
evm_code_type_LEGACY-empty_memory-length_0-src_0-dest_32 LEGACY 0 0 32
evm_code_type_LEGACY-empty_memory-length_0-src_32-dest_0 LEGACY 0 32 0
evm_code_type_LEGACY-empty_memory-length_0-src_32-dest_32 LEGACY 0 32 32
evm_code_type_LEGACY-empty_memory-length_1-src_0-dest_0 LEGACY 1 0 0
evm_code_type_LEGACY-empty_memory-length_1-src_0-dest_32 LEGACY 1 0 32
evm_code_type_LEGACY-empty_memory-length_1-src_32-dest_0 LEGACY 1 32 0
evm_code_type_LEGACY-empty_memory-length_1-src_32-dest_32 LEGACY 1 32 32
evm_code_type_EOF_V1-empty_memory-length_0-src_0-dest_0 EOF_V1 0 0 0
evm_code_type_EOF_V1-empty_memory-length_0-src_0-dest_32 EOF_V1 0 0 32
evm_code_type_EOF_V1-empty_memory-length_0-src_32-dest_0 EOF_V1 0 32 0
evm_code_type_EOF_V1-empty_memory-length_0-src_32-dest_32 EOF_V1 0 32 32
evm_code_type_EOF_V1-empty_memory-length_1-src_0-dest_0 EOF_V1 1 0 0
evm_code_type_EOF_V1-empty_memory-length_1-src_0-dest_32 EOF_V1 1 0 32
evm_code_type_EOF_V1-empty_memory-length_1-src_32-dest_0 EOF_V1 1 32 0
evm_code_type_EOF_V1-empty_memory-length_1-src_32-dest_32 EOF_V1 1 32 32
evm_code_type_EOF_V1-empty_memory-length_0-src_0-dest_0 EOF_V1 0 0 0
evm_code_type_EOF_V1-empty_memory-length_0-src_0-dest_32 EOF_V1 0 0 32
evm_code_type_EOF_V1-empty_memory-length_0-src_32-dest_0 EOF_V1 0 32 0
evm_code_type_EOF_V1-empty_memory-length_0-src_32-dest_32 EOF_V1 0 32 32
evm_code_type_EOF_V1-empty_memory-length_1-src_0-dest_0 EOF_V1 1 0 0
evm_code_type_EOF_V1-empty_memory-length_1-src_0-dest_32 EOF_V1 1 0 32
evm_code_type_EOF_V1-empty_memory-length_1-src_32-dest_0 EOF_V1 1 32 0
evm_code_type_EOF_V1-empty_memory-length_1-src_32-dest_32 EOF_V1 1 32 32