Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(77)

Delta Between Two Patch Sets: src/pkg/big/nat_test.go

Issue 180047: code review 180047: 1) Change default gofmt default settings for (Closed)
Left Patch Set: code review 180047: 1) Change default gofmt default settings for Created 15 years, 3 months ago
Right Patch Set: code review 180047: 1) Change default gofmt default settings for Created 15 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/big/nat.go ('k') | src/pkg/bignum/arith.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package big 5 package big
6 6
7 import "testing" 7 import "testing"
8 8
9 func TestCmpNN(t *testing.T) { 9 func TestCmpNN(t *testing.T) {
10 // TODO(gri) write this test - all other tests depends on it 10 // TODO(gri) write this test - all other tests depends on it
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 if len(test.m) > 0 { 272 if len(test.m) > 0 {
273 m, _, _ = scanN(nil, test.m, 0) 273 m, _, _ = scanN(nil, test.m, 0)
274 } 274 }
275 275
276 z := expNNN(nil, x, y, m) 276 z := expNNN(nil, x, y, m)
277 if cmpNN(z, out) != 0 { 277 if cmpNN(z, out) != 0 {
278 t.Errorf("#%d got %v want %v", i, z, out) 278 t.Errorf("#%d got %v want %v", i, z, out)
279 } 279 }
280 } 280 }
281 } 281 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b