MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / test_probe

Function test_probe

debugger/src/debugger/probe.rs:107–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106 #[test]
107 fn test_probe() {
108 let layout = probe_layout_of("type T<'a> = &'a str;").unwrap();
109 assert_eq!(layout, Layout::new::<&str>());
110 let layout = probe_layout_of("type T = (i32, i32);").unwrap();
111 assert_eq!(layout, Layout::new::<(i32, i32)>());
112 }
113}

Callers

nothing calls this directly

Calls 1

probe_layout_ofFunction · 0.85

Tested by

no test coverage detected