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

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

Issue 11405003: Update fixnum to new package guidelines. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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) 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 '../fixnum.dart'; 6 import '../lib/fixnum.dart';
7 7
8 void main() { 8 void main() {
9 testAdditive(); 9 testAdditive();
10 testBitOps(); 10 testBitOps();
11 testComparisons(); 11 testComparisons();
12 testConversions(); 12 testConversions();
13 testDiv(); 13 testDiv();
14 testFactorial(); 14 testFactorial();
15 testMinMax(); 15 testMinMax();
16 testMod(); 16 testMod();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 Expect.isTrue(new int64.fromInt(10) <= new int64.fromInt(10)); 95 Expect.isTrue(new int64.fromInt(10) <= new int64.fromInt(10));
96 Expect.isTrue(new int64.fromInt(10) == new int64.fromInt(10)); 96 Expect.isTrue(new int64.fromInt(10) == new int64.fromInt(10));
97 Expect.isTrue(new int64.fromInt(10) >= new int64.fromInt(10)); 97 Expect.isTrue(new int64.fromInt(10) >= new int64.fromInt(10));
98 Expect.isTrue(!(new int64.fromInt(10) > new int64.fromInt(10))); 98 Expect.isTrue(!(new int64.fromInt(10) > new int64.fromInt(10)));
99 99
100 Expect.isTrue(!(new int64.fromInt(12) < new int64.fromInt(11))); 100 Expect.isTrue(!(new int64.fromInt(12) < new int64.fromInt(11)));
101 Expect.isTrue(!(new int64.fromInt(12) <= new int64.fromInt(11))); 101 Expect.isTrue(!(new int64.fromInt(12) <= new int64.fromInt(11)));
102 Expect.isTrue(!(new int64.fromInt(12) == new int64.fromInt(11))); 102 Expect.isTrue(!(new int64.fromInt(12) == new int64.fromInt(11)));
103 Expect.isTrue(new int64.fromInt(12) >= new int64.fromInt(11)); 103 Expect.isTrue(new int64.fromInt(12) >= new int64.fromInt(11));
104 Expect.isTrue(new int64.fromInt(12) > new int64.fromInt(11)); 104 Expect.isTrue(new int64.fromInt(12) > new int64.fromInt(11));
105 105
106 Expect.isTrue(new int64.fromInt(-10) > new int64.fromInt(-11)); 106 Expect.isTrue(new int64.fromInt(-10) > new int64.fromInt(-11));
107 Expect.isTrue(new int64.fromInt(10) > new int64.fromInt(-11)); 107 Expect.isTrue(new int64.fromInt(10) > new int64.fromInt(-11));
108 Expect.isTrue(!(new int64.fromInt(-10) > new int64.fromInt(11))); 108 Expect.isTrue(!(new int64.fromInt(-10) > new int64.fromInt(11)));
109 Expect.isTrue(new int64.fromInt(-10) >= new int64.fromInt(-11)); 109 Expect.isTrue(new int64.fromInt(-10) >= new int64.fromInt(-11));
110 Expect.isTrue(new int64.fromInt(-10) >= new int64.fromInt(-10)); 110 Expect.isTrue(new int64.fromInt(-10) >= new int64.fromInt(-10));
111 Expect.isTrue(!(new int64.fromInt(-10) < new int64.fromInt(-11))); 111 Expect.isTrue(!(new int64.fromInt(-10) < new int64.fromInt(-11)));
112 Expect.isTrue(!(new int64.fromInt(-10) <= new int64.fromInt(-11))); 112 Expect.isTrue(!(new int64.fromInt(-10) <= new int64.fromInt(-11)));
113 Expect.isTrue(new int64.fromInt(-10) <= new int64.fromInt(-10)); 113 Expect.isTrue(new int64.fromInt(-10) <= new int64.fromInt(-10));
114 Expect.isTrue(new int64.fromInt(-10) == new int64.fromInt(-10)); 114 Expect.isTrue(new int64.fromInt(-10) == new int64.fromInt(-10));
115 Expect.isTrue(!(new int64.fromInt(-10) != new int64.fromInt(-10))); 115 Expect.isTrue(!(new int64.fromInt(-10) != new int64.fromInt(-10)));
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 new int64.fromInt(-2147483651).toInt32()); 207 new int64.fromInt(-2147483651).toInt32());
208 } 208 }
209 209
210 void testDiv() { 210 void testDiv() {
211 int64 deadBeef = new int64.fromInts(0xDEADBEEF, 0xDEADBEEF); 211 int64 deadBeef = new int64.fromInts(0xDEADBEEF, 0xDEADBEEF);
212 int64 ten = new int64.fromInt(10); 212 int64 ten = new int64.fromInt(10);
213 Expect.equals(new int64.fromInts(0xfcaaf97e, 0x63115fe5), deadBeef ~/ ten); 213 Expect.equals(new int64.fromInts(0xfcaaf97e, 0x63115fe5), deadBeef ~/ ten);
214 Expect.equals(int64.ZERO, int64.ONE ~/ int64.TWO); 214 Expect.equals(int64.ZERO, int64.ONE ~/ int64.TWO);
215 Expect.equals(new int64.fromInts(0x3fffffff, 0xffffffff), 215 Expect.equals(new int64.fromInts(0x3fffffff, 0xffffffff),
216 int64.MAX_VALUE ~/ int64.TWO); 216 int64.MAX_VALUE ~/ int64.TWO);
217 217
218 Expect.equals(int64.ZERO, int64.ZERO ~/ new int64.fromInt(1000)); 218 Expect.equals(int64.ZERO, int64.ZERO ~/ new int64.fromInt(1000));
219 Expect.equals(int64.ONE, int64.MIN_VALUE ~/ int64.MIN_VALUE); 219 Expect.equals(int64.ONE, int64.MIN_VALUE ~/ int64.MIN_VALUE);
220 Expect.equals(int64.ZERO, new int64.fromInt(1000) ~/ int64.MIN_VALUE); 220 Expect.equals(int64.ZERO, new int64.fromInt(1000) ~/ int64.MIN_VALUE);
221 221
222 Expect.equals("-1125899906842624", 222 Expect.equals("-1125899906842624",
223 (int64.MIN_VALUE ~/ new int64.fromInt(8192)).toString()); 223 (int64.MIN_VALUE ~/ new int64.fromInt(8192)).toString());
224 Expect.equals("-1125762484664320", 224 Expect.equals("-1125762484664320",
225 (int64.MIN_VALUE ~/ new int64.fromInt(8193)).toString()); 225 (int64.MIN_VALUE ~/ new int64.fromInt(8193)).toString());
226 Expect.equals(int64.ZERO, 226 Expect.equals(int64.ZERO,
227 new int64.fromInt(-1000) ~/ new int64.fromInt(8192)); 227 new int64.fromInt(-1000) ~/ new int64.fromInt(8192));
228 Expect.equals(int64.ZERO, 228 Expect.equals(int64.ZERO,
229 new int64.fromInt(-1000) ~/ new int64.fromInt(8193)); 229 new int64.fromInt(-1000) ~/ new int64.fromInt(8193));
230 Expect.equals(new int64.fromInt(-122070), 230 Expect.equals(new int64.fromInt(-122070),
231 new int64.fromInt(-1000000000) ~/ new int64.fromInt(8192)); 231 new int64.fromInt(-1000000000) ~/ new int64.fromInt(8192));
232 Expect.equals(new int64.fromInt(-122055), 232 Expect.equals(new int64.fromInt(-122055),
233 new int64.fromInt(-1000000000) ~/ new int64.fromInt(8193)); 233 new int64.fromInt(-1000000000) ~/ new int64.fromInt(8193));
234 Expect.equals(new int64.fromInt(122070), 234 Expect.equals(new int64.fromInt(122070),
235 new int64.fromInt(1000000000) ~/ new int64.fromInt(8192)); 235 new int64.fromInt(1000000000) ~/ new int64.fromInt(8192));
236 Expect.equals(new int64.fromInt(122055), 236 Expect.equals(new int64.fromInt(122055),
237 new int64.fromInt(1000000000) ~/ new int64.fromInt(8193)); 237 new int64.fromInt(1000000000) ~/ new int64.fromInt(8193));
238 238
239 Expect.equals(new int64.fromInts(0x1fffff, 0xffffffff), 239 Expect.equals(new int64.fromInts(0x1fffff, 0xffffffff),
240 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x00000400)); 240 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x00000400));
241 Expect.equals(new int64.fromInts(0x1fff, 0xffffffff), 241 Expect.equals(new int64.fromInts(0x1fff, 0xffffffff),
242 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x00040000)); 242 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x00040000));
243 Expect.equals(new int64.fromInts(0x1f, 0xffffffff), 243 Expect.equals(new int64.fromInts(0x1f, 0xffffffff),
244 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x04000000)); 244 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x04000000));
245 Expect.equals(new int64.fromInt(536870911), 245 Expect.equals(new int64.fromInt(536870911),
246 int64.MAX_VALUE ~/ new int64.fromInts(0x00000004, 0x00000000)); 246 int64.MAX_VALUE ~/ new int64.fromInts(0x00000004, 0x00000000));
247 Expect.equals(new int64.fromInt(2097151), 247 Expect.equals(new int64.fromInt(2097151),
248 int64.MAX_VALUE ~/ new int64.fromInts(0x00000400, 0x00000000)); 248 int64.MAX_VALUE ~/ new int64.fromInts(0x00000400, 0x00000000));
249 Expect.equals(new int64.fromInt(8191), 249 Expect.equals(new int64.fromInt(8191),
250 int64.MAX_VALUE ~/ new int64.fromInts(0x00040000, 0x00000000)); 250 int64.MAX_VALUE ~/ new int64.fromInts(0x00040000, 0x00000000));
251 Expect.equals(new int64.fromInt(31), 251 Expect.equals(new int64.fromInt(31),
252 int64.MAX_VALUE ~/ new int64.fromInts(0x04000000, 0x00000000)); 252 int64.MAX_VALUE ~/ new int64.fromInts(0x04000000, 0x00000000));
253 253
254 Expect.equals(new int64.fromInts(0x2AAAAA, 0xAAAAAAAA), 254 Expect.equals(new int64.fromInts(0x2AAAAA, 0xAAAAAAAA),
255 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x00000300)); 255 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x00000300));
256 Expect.equals(new int64.fromInts(0x2, 0xAAAAAAAA), 256 Expect.equals(new int64.fromInts(0x2, 0xAAAAAAAA),
257 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x30000000)); 257 int64.MAX_VALUE ~/ new int64.fromInts(0x00000000, 0x30000000));
258 Expect.equals(new int64.fromInt(0x2AA), 258 Expect.equals(new int64.fromInt(0x2AA),
259 int64.MAX_VALUE ~/ new int64.fromInts(0x00300000, 0x00000000)); 259 int64.MAX_VALUE ~/ new int64.fromInts(0x00300000, 0x00000000));
260 260
261 Expect.equals(new int64.fromInts(0x708, 0x002E9501), 261 Expect.equals(new int64.fromInts(0x708, 0x002E9501),
262 int64.MAX_VALUE ~/ new int64.fromInt(0x123456)); 262 int64.MAX_VALUE ~/ new int64.fromInt(0x123456));
263 Expect.equals(new int64.fromInt(0x3BDA9), 263 Expect.equals(new int64.fromInt(0x3BDA9),
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 new int64.fromInt(1111) * new int64.fromInt(3)); 340 new int64.fromInt(1111) * new int64.fromInt(3));
341 Expect.equals(new int64.fromInt(-3333), 341 Expect.equals(new int64.fromInt(-3333),
342 new int64.fromInt(1111) * new int64.fromInt(-3)); 342 new int64.fromInt(1111) * new int64.fromInt(-3));
343 Expect.equals(new int64.fromInt(-3333), 343 Expect.equals(new int64.fromInt(-3333),
344 new int64.fromInt(-1111) * new int64.fromInt(3)); 344 new int64.fromInt(-1111) * new int64.fromInt(3));
345 Expect.equals(new int64.fromInt(3333), 345 Expect.equals(new int64.fromInt(3333),
346 new int64.fromInt(-1111) * new int64.fromInt(-3)); 346 new int64.fromInt(-1111) * new int64.fromInt(-3));
347 Expect.equals(new int64.fromInt(0), 347 Expect.equals(new int64.fromInt(0),
348 new int64.fromInt(100) * new int64.fromInt(0)); 348 new int64.fromInt(100) * new int64.fromInt(0));
349 349
350 Expect.equals(new int64.fromInts(0x7ff63f7c, 0x1df4d840), 350 Expect.equals(new int64.fromInts(0x7ff63f7c, 0x1df4d840),
351 new int64.fromInts(0x12345678, 0x12345678) * 351 new int64.fromInts(0x12345678, 0x12345678) *
352 new int64.fromInts(0x1234, 0x12345678)); 352 new int64.fromInts(0x1234, 0x12345678));
353 Expect.equals(new int64.fromInts(0x7ff63f7c, 0x1df4d840), 353 Expect.equals(new int64.fromInts(0x7ff63f7c, 0x1df4d840),
354 new int64.fromInts(0xf2345678, 0x12345678) * 354 new int64.fromInts(0xf2345678, 0x12345678) *
355 new int64.fromInts(0x1234, 0x12345678)); 355 new int64.fromInts(0x1234, 0x12345678));
356 Expect.equals(new int64.fromInts(0x297e3f7c, 0x1df4d840), 356 Expect.equals(new int64.fromInts(0x297e3f7c, 0x1df4d840),
357 new int64.fromInts(0xf2345678, 0x12345678) * 357 new int64.fromInts(0xf2345678, 0x12345678) *
358 new int64.fromInts(0xffff1234, 0x12345678)); 358 new int64.fromInts(0xffff1234, 0x12345678));
359 359
360 Expect.equals(new int64.fromInt(0), int64.MIN_VALUE * new int64.fromInt(2)); 360 Expect.equals(new int64.fromInt(0), int64.MIN_VALUE * new int64.fromInt(2));
361 Expect.equals(int64.MIN_VALUE, int64.MIN_VALUE * new int64.fromInt(1)); 361 Expect.equals(int64.MIN_VALUE, int64.MIN_VALUE * new int64.fromInt(1));
362 Expect.equals(int64.MIN_VALUE, int64.MIN_VALUE * new int64.fromInt(-1)); 362 Expect.equals(int64.MIN_VALUE, int64.MIN_VALUE * new int64.fromInt(-1));
363 363
364 Expect.equals(new int64.fromInt(1), new int64.fromInt(5) ~/ 364 Expect.equals(new int64.fromInt(1), new int64.fromInt(5) ~/
365 new int64.fromInt(5)); 365 new int64.fromInt(5));
366 Expect.equals(new int64.fromInt(333), new int64.fromInt(1000) ~/ 366 Expect.equals(new int64.fromInt(333), new int64.fromInt(1000) ~/
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 Expect.equals(new int64.fromInt(-1), new int64.fromInt(-1) << 0); 428 Expect.equals(new int64.fromInt(-1), new int64.fromInt(-1) << 0);
429 Expect.equals(-new int64.fromInts(0x40000000, 0x00000000), 429 Expect.equals(-new int64.fromInts(0x40000000, 0x00000000),
430 (new int64.fromInt(1) << 63) >> 1); 430 (new int64.fromInt(1) << 63) >> 1);
431 Expect.equals(new int64.fromInt(0), (new int64.fromInt(-1) << 32) << 32); 431 Expect.equals(new int64.fromInt(0), (new int64.fromInt(-1) << 32) << 32);
432 Expect.equals(int64.MIN_VALUE, int64.MIN_VALUE << 0); 432 Expect.equals(int64.MIN_VALUE, int64.MIN_VALUE << 0);
433 Expect.equals(new int64.fromInt(0), int64.MIN_VALUE << 1); 433 Expect.equals(new int64.fromInt(0), int64.MIN_VALUE << 1);
434 Expect.equals(new int64.fromInts(0xfffffffc, 0x00000000), 434 Expect.equals(new int64.fromInts(0xfffffffc, 0x00000000),
435 (-new int64.fromInts(8, 0)) >> 1); 435 (-new int64.fromInts(8, 0)) >> 1);
436 Expect.equals(new int64.fromInts(0x7ffffffc, 0x0), 436 Expect.equals(new int64.fromInts(0x7ffffffc, 0x0),
437 (-new int64.fromInts(8, 0)).shiftRightUnsigned(1)); 437 (-new int64.fromInts(8, 0)).shiftRightUnsigned(1));
438 438
439 Expect.equals(new int64.fromInts(0x00723456, 0x789abcde), 439 Expect.equals(new int64.fromInts(0x00723456, 0x789abcde),
440 new int64.fromInts(0x72345678, 0x9abcdef0) >> 8); 440 new int64.fromInts(0x72345678, 0x9abcdef0) >> 8);
441 Expect.equals(new int64.fromInts(0x00007234, 0x56789abc), 441 Expect.equals(new int64.fromInts(0x00007234, 0x56789abc),
442 new int64.fromInts(0x72345678, 0x9abcdef0) >> 16); 442 new int64.fromInts(0x72345678, 0x9abcdef0) >> 16);
443 Expect.equals(new int64.fromInts(0x00000072, 0x3456789a), 443 Expect.equals(new int64.fromInts(0x00000072, 0x3456789a),
444 new int64.fromInts(0x72345678, 0x9abcdef0) >> 24); 444 new int64.fromInts(0x72345678, 0x9abcdef0) >> 24);
445 Expect.equals(new int64.fromInts(0x00000007, 0x23456789), 445 Expect.equals(new int64.fromInts(0x00000007, 0x23456789),
446 new int64.fromInts(0x72345678, 0x9abcdef0) >> 28); 446 new int64.fromInts(0x72345678, 0x9abcdef0) >> 28);
447 Expect.equals(new int64.fromInts(0x00000000, 0x72345678), 447 Expect.equals(new int64.fromInts(0x00000000, 0x72345678),
448 new int64.fromInts(0x72345678, 0x9abcdef0) >> 32); 448 new int64.fromInts(0x72345678, 0x9abcdef0) >> 32);
(...skipping 17 matching lines...) Expand all
466 Expect.equals(new int64.fromInts(0x00000000, 0x72345678), 466 Expect.equals(new int64.fromInts(0x00000000, 0x72345678),
467 new int64.fromInts(0x72345678, 0x9abcdef0).shiftRightUnsigned(32)); 467 new int64.fromInts(0x72345678, 0x9abcdef0).shiftRightUnsigned(32));
468 Expect.equals(new int64.fromInts(0x00000000, 0x07234567), 468 Expect.equals(new int64.fromInts(0x00000000, 0x07234567),
469 new int64.fromInts(0x72345678, 0x9abcdef0).shiftRightUnsigned(36)); 469 new int64.fromInts(0x72345678, 0x9abcdef0).shiftRightUnsigned(36));
470 Expect.equals(new int64.fromInts(0x00000000, 0x00723456), 470 Expect.equals(new int64.fromInts(0x00000000, 0x00723456),
471 new int64.fromInts(0x72345678, 0x9abcdef0).shiftRightUnsigned(40)); 471 new int64.fromInts(0x72345678, 0x9abcdef0).shiftRightUnsigned(40));
472 Expect.equals(new int64.fromInts(0x00000000, 0x00072345), 472 Expect.equals(new int64.fromInts(0x00000000, 0x00072345),
473 new int64.fromInts(0x72345678, 0x9abcde00).shiftRightUnsigned(44)); 473 new int64.fromInts(0x72345678, 0x9abcde00).shiftRightUnsigned(44));
474 Expect.equals(new int64.fromInts(0x00000000, 0x00007234), 474 Expect.equals(new int64.fromInts(0x00000000, 0x00007234),
475 new int64.fromInts(0x72345678, 0x9abcdef0).shiftRightUnsigned(48)); 475 new int64.fromInts(0x72345678, 0x9abcdef0).shiftRightUnsigned(48));
476 476
477 Expect.equals(new int64.fromInts(0xff923456, 0x789abcde), 477 Expect.equals(new int64.fromInts(0xff923456, 0x789abcde),
478 new int64.fromInts(0x92345678, 0x9abcdef0) >> 8); 478 new int64.fromInts(0x92345678, 0x9abcdef0) >> 8);
479 Expect.equals(new int64.fromInts(0xffff9234, 0x56789abc), 479 Expect.equals(new int64.fromInts(0xffff9234, 0x56789abc),
480 new int64.fromInts(0x92345678, 0x9abcdef0) >> 16); 480 new int64.fromInts(0x92345678, 0x9abcdef0) >> 16);
481 481
482 Expect.equals(new int64.fromInts(0xffffff92, 0x3456789a), 482 Expect.equals(new int64.fromInts(0xffffff92, 0x3456789a),
483 new int64.fromInts(0x92345678, 0x9abcdef0) >> 24); 483 new int64.fromInts(0x92345678, 0x9abcdef0) >> 24);
484 Expect.equals(new int64.fromInts(0xfffffff9, 0x23456789), 484 Expect.equals(new int64.fromInts(0xfffffff9, 0x23456789),
485 new int64.fromInts(0x92345678, 0x9abcdef0) >> 28); 485 new int64.fromInts(0x92345678, 0x9abcdef0) >> 28);
486 Expect.equals(new int64.fromInts(0xffffffff, 0x92345678), 486 Expect.equals(new int64.fromInts(0xffffffff, 0x92345678),
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 Expect.equals("777777777777777777777", int64.MAX_VALUE.toRadixString(8)); 597 Expect.equals("777777777777777777777", int64.MAX_VALUE.toRadixString(8));
598 Expect.equals("67404283172107811827", int64.MAX_VALUE.toRadixString(9)); 598 Expect.equals("67404283172107811827", int64.MAX_VALUE.toRadixString(9));
599 Expect.equals("9223372036854775807", int64.MAX_VALUE.toRadixString(10)); 599 Expect.equals("9223372036854775807", int64.MAX_VALUE.toRadixString(10));
600 Expect.equals("1728002635214590697", int64.MAX_VALUE.toRadixString(11)); 600 Expect.equals("1728002635214590697", int64.MAX_VALUE.toRadixString(11));
601 Expect.equals("41A792678515120367", int64.MAX_VALUE.toRadixString(12)); 601 Expect.equals("41A792678515120367", int64.MAX_VALUE.toRadixString(12));
602 Expect.equals("10B269549075433C37", int64.MAX_VALUE.toRadixString(13)); 602 Expect.equals("10B269549075433C37", int64.MAX_VALUE.toRadixString(13));
603 Expect.equals("4340724C6C71DC7A7", int64.MAX_VALUE.toRadixString(14)); 603 Expect.equals("4340724C6C71DC7A7", int64.MAX_VALUE.toRadixString(14));
604 Expect.equals("160E2AD3246366807", int64.MAX_VALUE.toRadixString(15)); 604 Expect.equals("160E2AD3246366807", int64.MAX_VALUE.toRadixString(15));
605 Expect.equals("7FFFFFFFFFFFFFFF", int64.MAX_VALUE.toRadixString(16)); 605 Expect.equals("7FFFFFFFFFFFFFFF", int64.MAX_VALUE.toRadixString(16));
606 } 606 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698