Closed ptisserand closed 2 months ago
For testing purpose of OP_MIN opcode, I have added implementation & test for OP_2 to OP_16
OP_MIN
To reduce code duplication in tests, I have wrote the following function fn test_op_n(value: u8) in test_opcodes.cairo
fn test_op_n(value: u8)
test_opcodes.cairo
OP_2 to OP16 already merged in #32, but your tests are shorter. Ok I have fixed the conflict issue by merging main and I have kept my tests for OP{1..16} Let me know if I should remove them.
For testing purpose of
OP_MIN
opcode, I have added implementation & test for OP_2 to OP_16To reduce code duplication in tests, I have wrote the following function
fn test_op_n(value: u8)
intest_opcodes.cairo