()
| 317 | |
| 318 | #[test] |
| 319 | fn detect_system_memory() { |
| 320 | // On Linux, /proc/meminfo should exist and return > 0. |
| 321 | if cfg!(target_os = "linux") { |
| 322 | let mem = detect_system_memory_bytes(); |
| 323 | assert!(mem.is_some(), "should detect memory on Linux"); |
| 324 | assert!(mem.unwrap() > 0); |
| 325 | } |
| 326 | } |
| 327 | } |
nothing calls this directly
no test coverage detected