Add test module exercising formal verification.
WIP: add a simulator
Add test module exercising formal verification.
it's more idiomatic to use a match statement here instead of a separate if let for each enum variant, that also ensures you've covered all enum variants. so like: