Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1026)

Side by Side Diff: tests/corelib/big_integer_vm_test.dart

Issue 10244009: test rename overhaul: step 7 - corelib tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tests/corelib/collection_from_test.dart » ('j') | tools/test.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // Testing Bigints. 4 // Testing Bigints.
5 // TODO(srdjan): Make sure the numbers are Bigint and not Mint or Smi. 5 // TODO(srdjan): Make sure the numbers are Bigint and not Mint or Smi.
6 6
7 #library("BigIntegerTest.dart"); 7 #library("BigIntegerTest.dart");
8 #import("dart:coreimpl"); 8 #import("dart:coreimpl");
9 9
10 class BigIntegerTest { 10 class BigIntegerTest {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 checkBigint(a); 167 checkBigint(a);
168 checkBigint(b); 168 checkBigint(b);
169 Expect.equals(false, a.hashCode() == b.hashCode()); 169 Expect.equals(false, a.hashCode() == b.hashCode());
170 Expect.equals(true, a.hashCode() == (b - 1).hashCode()); 170 Expect.equals(true, a.hashCode() == (b - 1).hashCode());
171 } 171 }
172 } 172 }
173 173
174 main() { 174 main() {
175 BigIntegerTest.testMain(); 175 BigIntegerTest.testMain();
176 } 176 }
OLDNEW
« no previous file with comments | « no previous file | tests/corelib/collection_from_test.dart » ('j') | tools/test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698