()
| 395 | |
| 396 | #[test_case] |
| 397 | fn test_two_frames() { |
| 398 | let memory_info = unsafe {MEMORY_INFO.as_mut().unwrap()}; |
| 399 | let mut alloc = &mut memory_info.frame_allocator; |
| 400 | |
| 401 | let frame1 = alloc.fetch_frame(); |
| 402 | let frame2 = alloc.fetch_frame(); |
| 403 | |
| 404 | assert!(frame1 != frame2); |
| 405 | } |
| 406 | |
| 407 | #[test_case] |
| 408 | fn test_level2_cleared() { |
nothing calls this directly
no test coverage detected