()
| 1172 | |
| 1173 | #[test] |
| 1174 | fn parse_cpu_millicore() { |
| 1175 | assert_eq!(parse_cpu_to_microseconds("500m"), Some(50_000)); |
| 1176 | assert_eq!(parse_cpu_to_microseconds("1000m"), Some(100_000)); |
| 1177 | assert_eq!(parse_cpu_to_microseconds("250m"), Some(25_000)); |
| 1178 | } |
| 1179 | |
| 1180 | #[test] |
| 1181 | fn parse_cpu_whole_cores() { |
nothing calls this directly
no outgoing calls
no test coverage detected