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

Side by Side Diff: tests/compiler/dart2js_extra/operator3_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated latest tests. 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
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 import "package:expect/expect.dart";
6
5 int zero() { return 0; } 7 int zero() { return 0; }
6 int one() { return 1; } 8 int one() { return 1; }
7 int minus1() { return 0 - 1; } 9 int minus1() { return 0 - 1; }
8 int two() { return 2; } 10 int two() { return 2; }
9 int three() { return 3; } 11 int three() { return 3; }
10 int five() { return 5; } 12 int five() { return 5; }
11 int minus5() { return 0 - 5; } 13 int minus5() { return 0 - 5; }
12 int ninetyNine() { return 99; } 14 int ninetyNine() { return 99; }
13 int four99() { return 499; } 15 int four99() { return 499; }
14 int four99times99() { return 499 * 99; } 16 int four99times99() { return 499 * 99; }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 Expect.equals(497, --x); 51 Expect.equals(497, --x);
50 Expect.equals(497, x); 52 Expect.equals(497, x);
51 } 53 }
52 54
53 void main() { 55 void main() {
54 postPlusPlusTest(); 56 postPlusPlusTest();
55 prePlusPlusTest(); 57 prePlusPlusTest();
56 postMinusMinusTest(); 58 postMinusMinusTest();
57 preMinusMinusTest(); 59 preMinusMinusTest();
58 } 60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698