aboutsummaryrefslogtreecommitdiff
path: root/src/math/big/arith_test.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2015-04-21 15:43:44 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2015-04-21 23:13:33 +0000
commit91f2db3c574887c47da795b06d9f8564d558f85a (patch)
treef3bbb15a7efdfbf8b4fb53684ce4126353a83795 /src/math/big/arith_test.go
parente589e08014d8f508e93a6c0061e9fa50248cbe78 (diff)
downloadgo-91f2db3c574887c47da795b06d9f8564d558f85a.tar.gz
go-91f2db3c574887c47da795b06d9f8564d558f85a.zip
math/big: test that subVW and addVW work with arbitrary y
Fixes #10525. Change-Id: I92dc87f5d6db396d8dde2220fc37b7093b772d81 Reviewed-on: https://go-review.googlesource.com/9210 Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/math/big/arith_test.go')
-rw-r--r--src/math/big/arith_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/big/arith_test.go b/src/math/big/arith_test.go
index cd92dd7173..f46a494f17 100644
--- a/src/math/big/arith_test.go
+++ b/src/math/big/arith_test.go
@@ -155,6 +155,7 @@ var sumVW = []argVW{
{nat{1}, nat{1}, 0, 0},
{nat{0}, nat{_M}, 1, 1},
{nat{0, 0, 0, 0}, nat{_M, _M, _M, _M}, 1, 1},
+ {nat{585}, nat{314}, 271, 0},
}
var prodVW = []argVW{