()
| 629 | |
| 630 | #[test] |
| 631 | fn test_disasm_ok() { |
| 632 | Tester::default() |
| 633 | .set_program(None, "A = 2 + 3") |
| 634 | .run("DISASM") |
| 635 | .expect_prints([ |
| 636 | "0000: LOADI R64, 2 ; 1:5", |
| 637 | "0001: LOADI R65, 3 ; 1:9", |
| 638 | "0002: ADDI R64, R64, R65 ; 1:7", |
| 639 | "0003: EOF ; 0:0", |
| 640 | "", |
| 641 | ]) |
| 642 | .expect_program(None as Option<&str>, "A = 2 + 3") |
| 643 | .check(); |
| 644 | } |
| 645 | |
| 646 | #[test] |
| 647 | fn test_disasm_paging() { |
nothing calls this directly
no test coverage detected