()
| 124 | // --- System Bus, alignment requirements --- |
| 125 | |
| 126 | #[test] |
| 127 | fn bus_read_halfword_aligned() { |
| 128 | let mut bus = SystemBus::new(Vec::new()); |
| 129 | |
| 130 | bus.write_halfword(RAM_BASE, 0xBEEF) |
| 131 | .expect("bus access should succeed"); |
| 132 | let hw = bus |
| 133 | .read_halfword(RAM_BASE) |
| 134 | .expect("bus access should succeed"); |
| 135 | assert_eq!(hw, 0xBEEF); |
nothing calls this directly
no test coverage detected