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

Side by Side Diff: pkg/fixnum/test/int_64_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_32_test.dart ('k') | pkg/fixnum/test/int_64_vm_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 library int64test; 5 library int64test;
6 import "package:expect/expect.dart";
7 import 'package:fixnum/fixnum.dart'; 6 import 'package:fixnum/fixnum.dart';
8 7
9 void main() { 8 void main() {
10 testAdditive(); 9 testAdditive();
11 testBitOps(); 10 testBitOps();
12 testComparisons(); 11 testComparisons();
13 testConversions(); 12 testConversions();
14 testDiv(); 13 testDiv();
15 testFactorial(); 14 testFactorial();
16 testMinMax(); 15 testMinMax();
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 Expect.equals("777777777777777777777", int64.MAX_VALUE.toRadixString(8)); 597 Expect.equals("777777777777777777777", int64.MAX_VALUE.toRadixString(8));
599 Expect.equals("67404283172107811827", int64.MAX_VALUE.toRadixString(9)); 598 Expect.equals("67404283172107811827", int64.MAX_VALUE.toRadixString(9));
600 Expect.equals("9223372036854775807", int64.MAX_VALUE.toRadixString(10)); 599 Expect.equals("9223372036854775807", int64.MAX_VALUE.toRadixString(10));
601 Expect.equals("1728002635214590697", int64.MAX_VALUE.toRadixString(11)); 600 Expect.equals("1728002635214590697", int64.MAX_VALUE.toRadixString(11));
602 Expect.equals("41A792678515120367", int64.MAX_VALUE.toRadixString(12)); 601 Expect.equals("41A792678515120367", int64.MAX_VALUE.toRadixString(12));
603 Expect.equals("10B269549075433C37", int64.MAX_VALUE.toRadixString(13)); 602 Expect.equals("10B269549075433C37", int64.MAX_VALUE.toRadixString(13));
604 Expect.equals("4340724C6C71DC7A7", int64.MAX_VALUE.toRadixString(14)); 603 Expect.equals("4340724C6C71DC7A7", int64.MAX_VALUE.toRadixString(14));
605 Expect.equals("160E2AD3246366807", int64.MAX_VALUE.toRadixString(15)); 604 Expect.equals("160E2AD3246366807", int64.MAX_VALUE.toRadixString(15));
606 Expect.equals("7FFFFFFFFFFFFFFF", int64.MAX_VALUE.toRadixString(16)); 605 Expect.equals("7FFFFFFFFFFFFFFF", int64.MAX_VALUE.toRadixString(16));
607 } 606 }
OLDNEW
« no previous file with comments | « pkg/fixnum/test/int_32_test.dart ('k') | pkg/fixnum/test/int_64_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698