- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFunNN (0.07 sec)
-
src/math/big/nat_test.go
} } } func testFunNN(t *testing.T, msg string, f funNN, a argNN) { z := f(nil, a.x, a.y) if z.cmp(a.z) != 0 { t.Errorf("%s%+v\n\tgot z = %v; want %v", msg, a, z, a.z) } } func TestFunNN(t *testing.T) { for _, a := range sumNN { arg := a testFunNN(t, "add", nat.add, arg) arg = argNN{a.z, a.y, a.x} testFunNN(t, "add symmetric", nat.add, arg)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0)