MCPcopy Create free account
hub / github.com/cockroachdb/apd / readGDA

Function readGDA

gda_test.go:367–379  ·  view source on GitHub ↗
(t testing.TB, name string)

Source from the content-addressed store, hash-verified

365}
366
367func readGDA(t testing.TB, name string) (string, []TestCase) {
368 path := filepath.Join(testDir, name+".decTest")
369 f, err := os.Open(path)
370 if err != nil {
371 t.Fatal(err)
372 }
373 defer f.Close()
374 tcs, err := ParseDecTest(f)
375 if err != nil {
376 t.Fatal(err)
377 }
378 return path, tcs
379}
380
381func (tc TestCase) Context(t testing.TB) *Context {
382 rounding := Rounder(tc.Rounding)

Callers 2

TestGDAFunction · 0.85
BenchmarkGDAFunction · 0.85

Calls 1

ParseDecTestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…