Write tests for kmir run
with basic computations and control flow
#166
Labels
Milestone
kmir run
with basic computations and control flow
#166
The purpose is to implement milestone 3, enable kmir on executing basic computations.
The tests should be written in Rust suface syntax (refer to the pattern described by @geo2a) and compile to MIR using
rustc
(nightly version) options such asUsing the two flags to avoid syntax we do not support right now and to turn off the debug mode (options to resemble the production code, refer to Discussion in #65 for more details.)
In particular, we should be able to test
Rvalue
,NullaryOp
,UnaryOp
,BinaryOp
withCheckedBinaryOp
as optional (This would require refining the implementation ofAssertKind
).Switch
and->
commands to support the control flow. We might want to the surface syntax to test the coverage.The text was updated successfully, but these errors were encountered: