OLD | NEW |
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 class SortHelper { | 5 class SortHelper { |
6 | 6 |
7 SortHelper(this.sortFunction, this.compareFunction) {} | 7 SortHelper(this.sortFunction, this.compareFunction) {} |
8 | 8 |
9 void run() { | 9 void run() { |
10 testSortIntLists(); | 10 testSortIntLists(); |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 for (int i = 0; i < a.length; i++) { | 154 for (int i = 0; i < a.length; i++) { |
155 a[i] = 1.5; | 155 a[i] = 1.5; |
156 } | 156 } |
157 testSort(a); | 157 testSort(a); |
158 } | 158 } |
159 | 159 |
160 Function sortFunction; | 160 Function sortFunction; |
161 Function compareFunction; | 161 Function compareFunction; |
162 } | 162 } |
OLD | NEW |