()
| 1050 | /// Test format_bytes with small values. |
| 1051 | #[test] |
| 1052 | fn test_format_bytes_small() { |
| 1053 | assert_eq!(format_bytes(0), "0 B"); |
| 1054 | assert_eq!(format_bytes(512), "512 B"); |
| 1055 | assert_eq!(format_bytes(1023), "1023 B"); |
| 1056 | } |
| 1057 | |
| 1058 | /// Test format_bytes with kilobytes. |
| 1059 | #[test] |
nothing calls this directly
no outgoing calls
no test coverage detected