MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / many_boxes

Function many_boxes

kernel/tests/heap_allocation.rs:56–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54
55#[test_case]
56fn many_boxes() {
57 for i in 0..HEAP_SIZE {
58 let x = Box::new(i);
59 assert_eq!(*x, i);
60 }
61}
62
63#[test_case]
64fn many_boxes_long_lived() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected