()
| 442 | |
| 443 | #[test] |
| 444 | fn selector_rejects_empty_inventory() { |
| 445 | let inventory = CdiGpuInventory::new(["vendor.example/device=0"]); |
| 446 | let selector = CdiGpuDefaultSelector::new(inventory, false); |
| 447 | |
| 448 | assert_eq!( |
| 449 | selector.next_device_ids(1), |
| 450 | Err(CdiGpuSelectionError::NoAvailableDevices) |
| 451 | ); |
| 452 | } |
| 453 | |
| 454 | #[test] |
| 455 | fn peek_does_not_advance_round_robin_cursor() { |
nothing calls this directly
no outgoing calls
no test coverage detected