()
| 1065 | /// Test format_bytes with megabytes. |
| 1066 | #[test] |
| 1067 | fn test_format_bytes_mb() { |
| 1068 | assert_eq!(format_bytes(1024 * 1024), "1.0 MB"); |
| 1069 | assert_eq!(format_bytes(2 * 1024 * 1024 + 512 * 1024), "2.5 MB"); |
| 1070 | } |
| 1071 | |
| 1072 | /// Test format_bytes with gigabytes. |
| 1073 | #[test] |
nothing calls this directly
no outgoing calls
no test coverage detected