MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / TestRamPerVCPU

Function TestRamPerVCPU

utils/spec_store_test.go:104–110  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

102}
103
104func TestRamPerVCPU(t *testing.T) {
105 s := testSpecStore()
106
107 assert.Equal(t, 8, s.RamPerVCPU("a6000", 1))
108 assert.Equal(t, 8, s.RamPerVCPU("a100xl", 1))
109 assert.Equal(t, 8, s.RamPerVCPU("unknown", 1), "fallback")
110}
111
112func TestStorageRange(t *testing.T) {
113 s := testSpecStore()

Callers

nothing calls this directly

Calls 2

RamPerVCPUMethod · 0.80
testSpecStoreFunction · 0.70

Tested by

no test coverage detected