(t *testing.T)
| 94 | } |
| 95 | |
| 96 | func TestIncludedVCPUs(t *testing.T) { |
| 97 | s := testSpecStore() |
| 98 | |
| 99 | assert.Equal(t, 4, s.IncludedVCPUs("a6000", 1)) |
| 100 | assert.Equal(t, 8, s.IncludedVCPUs("a100xl", 2)) |
| 101 | assert.Equal(t, 4, s.IncludedVCPUs("unknown", 1), "fallback to 4") |
| 102 | } |
| 103 | |
| 104 | func TestRamPerVCPU(t *testing.T) { |
| 105 | s := testSpecStore() |
nothing calls this directly
no test coverage detected