Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ x_roundtrip
Function
x_roundtrip
crates/virtual-machine/tests/vm_registers.rs:11–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
10
#[test]
11
fn x_roundtrip() {
12
let mut regs = Registers::new();
13
regs.write_x(1, 0xDEAD_BEEF);
14
assert_eq!(regs.read_x(1), 0xDEAD_BEEF);
15
}
16
17
#[test]
18
fn fp_nan_box_write_read_f32() {
Callers
nothing calls this directly
Calls
1
write_x
Method · 0.80
Tested by
no test coverage detected