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

[feat] OP_[2..16] and OP_MIN implementation #33

Conversation

ptisserand
Copy link
Contributor

For testing purpose of OP_MIN opcode, I have added implementation & test for OP_2 to OP_16

To reduce code duplication in tests, I have wrote the following function fn test_op_n(value: u8) in test_opcodes.cairo

@ptisserand ptisserand requested a review from b-j-roberts as a code owner July 25, 2024 22:14
@ptisserand ptisserand force-pushed the feat/17-implement-OP_MIN-opcode branch from 7d1b350 to 8262f67 Compare July 26, 2024 11:00
Copy link
Contributor

@j1mbo64 j1mbo64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OP_2 to OP_16 already merged in #32, but your tests are shorter.
@b-j-roberts maybe we can use his tests ?

@ptisserand
Copy link
Contributor Author

OP_2 to OP_16 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.

@b-j-roberts b-j-roberts merged commit 256c2da into keep-starknet-strange:main Jul 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants