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

Side by Side Diff: tests/language/number_constant_folding1_test.dart

Issue 10248007: test rename overhaul: step 8 - language tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 4
5 // On frogsh constant folded hex literals of large magnitude were truncated on 5 // On frogsh constant folded hex literals of large magnitude were truncated on
6 // constant folding - Issue 636 is 'fixed', remaining concerns at Issue 638. 6 // constant folding - Issue 636 is 'fixed', remaining concerns at Issue 638.
7 7
8 8
9 highDigitTruncationTest() { 9 highDigitTruncationTest() {
10 Expect.equals(0x12345678A, 0x123456789 + 1); 10 Expect.equals(0x12345678A, 0x123456789 + 1);
(...skipping 10 matching lines...) Expand all
21 Expect.equals(0xfffffff0, 0xfffffff * 16); 21 Expect.equals(0xfffffff0, 0xfffffff * 16);
22 Expect.equals(0xffffffff0, 0xffffffff * 16); 22 Expect.equals(0xffffffff0, 0xffffffff * 16);
23 Expect.equals(0xfffffffff0, 0xfffffffff * 16); 23 Expect.equals(0xfffffffff0, 0xfffffffff * 16);
24 Expect.equals(0xffffffffff0, 0xffffffffff * 16); 24 Expect.equals(0xffffffffff0, 0xffffffffff * 16);
25 } 25 }
26 26
27 27
28 main() { 28 main() {
29 highDigitTruncationTest(); 29 highDigitTruncationTest();
30 } 30 }
OLDNEW
« no previous file with comments | « tests/language/null_to_string_test.dart ('k') | tests/language/number_identifier_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698