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

Function TestBigIntSignZ

bigint_test.go:908–917  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

906}
907
908func TestBigIntSignZ(t *testing.T) {
909 var zero BigInt
910 for _, a := range sumZZ {
911 s := a.z.Sign()
912 e := a.z.Cmp(&zero)
913 if s != e {
914 t.Errorf("got %d; want %d for z = %v", s, e, a.z)
915 }
916 }
917}
918
919func TestBigIntSetZ(t *testing.T) {
920 for _, a := range sumZZ {

Callers

nothing calls this directly

Calls 2

SignMethod · 0.45
CmpMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…