{ "#bigint": "4" }nix develop -c moon run --target native examples/bank_account/cmdBankAccount passed: 8 traces, 72 states matchednix develop -c moon run --target wasm examples/bank_account/wasmWasm BankAccount passed: 1 trace, 2 states matchednix develop -c moon run --target native examples/bank_account/cmd -- --broken-withdraw| File | Purpose |
|---|---|
| BankAccount.qnt | state and action model |
| driver.mbt | amount decoding, implementation transitions, and balance projection |
| driver_test.mbt | hand-written ITF positive/negative contract tests |
| cmd/main.mbt | fixed-seed trace generation and replay executable |
| wasm/main.mbt | process-free Wasm replay executable with embedded ITF |
fn replay_bank_suite(traces : Array[ItfTrace], broken_withdraw? : Bool) -> Result[ReplaySuiteSummary, SuiteError]Install
Download zipMoonBit runtime adapter for generating and replaying Quint MBT traces