(t *testing.T)
| 33 | } |
| 34 | |
| 35 | func TestGPUOptions_UnknownGPUAppended(t *testing.T) { |
| 36 | s := NewSpecStore(map[string]api.GpuSpecConfig{ |
| 37 | "a6000_x1": {GpuCount: 1}, |
| 38 | "b200_x1": {GpuCount: 1}, |
| 39 | }) |
| 40 | |
| 41 | got := s.GPUOptions() |
| 42 | // a6000 should come first (in display order), b200 appended after |
| 43 | assert.Equal(t, "a6000", got[0]) |
| 44 | assert.Contains(t, got, "b200") |
| 45 | } |
| 46 | |
| 47 | func TestGPUCounts(t *testing.T) { |
| 48 | s := testSpecStore() |
nothing calls this directly
no test coverage detected