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

Side by Side Diff: dart/tests/corelib/src/BigIntegerVMTest.dart

Issue 8261009: Create a standalone test directory and move tests in runtime/tests/dart (mostly) to that directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 2 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
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

Powered by Google App Engine
This is Rietveld 408576698