()
| 403 | ); |
| 404 | assert_eq!(uart, "AABCD"); |
| 405 | assert_eq!(exit, Some(0)); |
| 406 | } |
| 407 | |
| 408 | #[test] |
| 409 | fn mem_cmp_equal_returns_zero() { |
| 410 | let (uart, exit) = run_hll( |
| 411 | r#" |
| 412 | console := import("console") |
| 413 | mem := import("mem") |
| 414 | |
| 415 | main: () -> i32 { |
| 416 | a: u8[3] = [] |
| 417 | b: u8[3] = [] |
| 418 | a[0] = 65 |
| 419 | a[1] = 66 |
| 420 | a[2] = 67 |
nothing calls this directly
no test coverage detected