MCPcopy Create free account
hub / github.com/arcjet/gravity / Test_EnumInput

Function Test_EnumInput

examples/instructions/instructions_test.go:226–242  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

224}
225
226func Test_EnumInput(t *testing.T) {
227 fac, err := NewInstructionsFactory(t.Context())
228 if err != nil {
229 t.Fatal(err)
230 }
231 defer fac.Close(t.Context())
232
233 ins, err := fac.Instantiate(t.Context())
234 if err != nil {
235 t.Fatal(err)
236 }
237 defer ins.Close(t.Context())
238
239 ins.EnumInput(t.Context(), One)
240 ins.EnumInput(t.Context(), Two)
241 ins.EnumInput(t.Context(), Three)
242}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected