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

Side by Side Diff: pkg/fixnum/test/int_64_vm_test.dart

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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 | « pkg/fixnum/test/int_64_test.dart ('k') | pkg/yaml/test/yaml_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 4
5 // A test to compare the results of the fixnum library with the Dart VM 5 // A test to compare the results of the fixnum library with the Dart VM
6 6
7 library int64vmtest; 7 library int64vmtest;
8 import "package:expect/expect.dart";
9 import 'dart:math' as math; 8 import 'dart:math' as math;
10 9
11 part '../lib/src/int32.dart'; 10 part '../lib/src/int32.dart';
12 part '../lib/src/int64.dart'; 11 part '../lib/src/int64.dart';
13 part '../lib/src/intx.dart'; 12 part '../lib/src/intx.dart';
14 13
15 final random = new math.Random(); 14 final random = new math.Random();
16 15
17 void main() { 16 void main() {
18 int64VMTest test = new int64VMTest(); 17 int64VMTest test = new int64VMTest();
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 } 320 }
322 } 321 }
323 for (int i = 0; i < RANDOM_TESTS; i++) { 322 for (int i = 0; i < RANDOM_TESTS; i++) {
324 int64 randomLong = _randomInt64(); 323 int64 randomLong = _randomInt64();
325 for (int shift = -64; shift <= 64; shift++) { 324 for (int shift = -64; shift <= 64; shift++) {
326 _doTestShift(op, randomLong, shift); 325 _doTestShift(op, randomLong, shift);
327 } 326 }
328 } 327 }
329 } 328 }
330 } 329 }
OLDNEW
« no previous file with comments | « pkg/fixnum/test/int_64_test.dart ('k') | pkg/yaml/test/yaml_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698