OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library multiprogram_tests.utils; | 5 library multiprogram_tests.utils; |
6 | 6 |
7 import 'package:expect/expect.dart'; | 7 import 'package:expect/expect.dart'; |
8 | 8 |
9 class Point { | 9 class Point { |
10 final double x; | 10 final double x; |
11 final double y; | 11 final double y; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 point = multiply(point, rotate90); | 44 point = multiply(point, rotate90); |
45 } | 45 } |
46 | 46 |
47 Expect.equals(0.0, point.x); | 47 Expect.equals(0.0, point.x); |
48 Expect.equals(0.0, point.y); | 48 Expect.equals(0.0, point.y); |
49 | 49 |
50 if (sw.elapsedMilliseconds >= duration.inMilliseconds) break; | 50 if (sw.elapsedMilliseconds >= duration.inMilliseconds) break; |
51 } | 51 } |
52 } | 52 } |
53 | 53 |
OLD | NEW |