| OLD | NEW |
| 1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 import 'dart:fletch'; | 5 import 'dart:fletch'; |
| 6 | 6 |
| 7 import 'package:expect/expect.dart'; | 7 import 'package:expect/expect.dart'; |
| 8 | 8 |
| 9 main() { | 9 main() { |
| 10 test(0, 0); | 10 test(0, 0); |
| 11 | 11 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 } else { | 45 } else { |
| 46 Expect.isTrue(yLeft == 0 || i.isOdd); | 46 Expect.isTrue(yLeft == 0 || i.isOdd); |
| 47 Expect.equals("x", result[i]); | 47 Expect.equals("x", result[i]); |
| 48 xLeft--; | 48 xLeft--; |
| 49 } | 49 } |
| 50 } | 50 } |
| 51 | 51 |
| 52 Expect.equals(0, xLeft); | 52 Expect.equals(0, xLeft); |
| 53 Expect.equals(0, yLeft); | 53 Expect.equals(0, yLeft); |
| 54 } | 54 } |
| OLD | NEW |