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

Side by Side Diff: frog/tests/leg_only/break_test.dart

Issue 10250002: test rename overhaul: step 5 - frog and leg tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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) 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 break1(int x, int y, int ew, int ez) { 5 break1(int x, int y, int ew, int ez) {
6 int w = 1; 6 int w = 1;
7 int z = 0; 7 int z = 0;
8 bk1: if (x == 2) { 8 bk1: if (x == 2) {
9 z = 1; 9 z = 1;
10 if (y == 3) { 10 if (y == 3) {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 Expect.isTrue(obscureBreaks(3), "3"); 141 Expect.isTrue(obscureBreaks(3), "3");
142 Expect.isTrue(obscureBreaks(4), "4"); 142 Expect.isTrue(obscureBreaks(4), "4");
143 Expect.isFalse(obscureBreaks(5), "5"); 143 Expect.isFalse(obscureBreaks(5), "5");
144 Expect.equals(3, ifBreaks(1, 4)); 144 Expect.equals(3, ifBreaks(1, 4));
145 Expect.equals(4, ifBreaks(1, 2)); 145 Expect.equals(4, ifBreaks(1, 2));
146 Expect.equals(5, ifBreaks(1, 3)); 146 Expect.equals(5, ifBreaks(1, 3));
147 Expect.equals(6, ifBreaks(2, 4)); 147 Expect.equals(6, ifBreaks(2, 4));
148 Expect.equals(7, ifBreaks(2, 2)); 148 Expect.equals(7, ifBreaks(2, 2));
149 Expect.equals(8, ifBreaks(2, 3)); 149 Expect.equals(8, ifBreaks(2, 3));
150 } 150 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698