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

Function TestGDA

gda_test.go:240–252  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

238}
239
240func TestGDA(t *testing.T) {
241 var buf bytes.Buffer
242 fmt.Fprintf(&buf, "%10s%8s%8s%8s%8s%8s%8s\n", "name", "total", "success", "fail", "ignore", "skip", "missing")
243 for _, fname := range GDAfiles {
244 succeed := t.Run(fname, func(t *testing.T) {
245 path, tcs := readGDA(t, fname)
246 gdaTest(t, path, tcs)
247 })
248 if !succeed && *flagFailFast {
249 break
250 }
251 }
252}
253
254func (tc TestCase) Run(c *Context, done chan error, d, x, y *Decimal) (res Condition, err error) {
255 switch tc.Operation {

Callers

nothing calls this directly

Calls 3

readGDAFunction · 0.85
gdaTestFunction · 0.85
RunMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…