math/big: gofmt nat_test.go

Was apparently checked in by https://go-review.googlesource.com/#/c/9253/
without being gofmt-ed.

TBR: agl

Change-Id: I4d011dbaa15b7c5e73ca71f724f32951a0302dae
Reviewed-on: https://go-review.googlesource.com/10353
Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
Robert Griesemer 2015-05-21 18:06:34 -07:00
parent 9279684908
commit c344f751fc

View file

@ -333,9 +333,9 @@ func TestTrailingZeroBits(t *testing.T) {
} }
var montgomeryTests = []struct { var montgomeryTests = []struct {
x, y, m string x, y, m string
k0 uint64 k0 uint64
out32, out64 string out32, out64 string
}{ }{
{ {
"0xffffffffffffffffffffffffffffffffffffffffffffffffe", "0xffffffffffffffffffffffffffffffffffffffffffffffffe",
@ -384,7 +384,7 @@ func TestMontgomery(t *testing.T) {
out = natFromString(test.out64) out = natFromString(test.out64)
} }
k0 := Word(test.k0 & _M) // mask k0 to ensure that it fits for 32-bit systems. k0 := Word(test.k0 & _M) // mask k0 to ensure that it fits for 32-bit systems.
z := nat(nil).montgomery(x, y, m, k0, len(m)) z := nat(nil).montgomery(x, y, m, k0, len(m))
z = z.norm() z = z.norm()
if z.cmp(out) != 0 { if z.cmp(out) != 0 {