()
| 46 | |
| 47 | #[test] |
| 48 | fn test_format_memory_bytes() { |
| 49 | assert_eq!(format_memory(100.0, None), "100 B"); |
| 50 | assert_eq!(format_memory(100.0, Some(0)), "100 B"); |
| 51 | assert_eq!(format_memory(123.45, Some(2)), "123.45 B"); |
| 52 | } |
| 53 | |
| 54 | #[test] |
| 55 | fn test_format_memory_kilobytes() { |
nothing calls this directly
no outgoing calls
no test coverage detected