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 #include <string.h> | 5 #include <string.h> |
6 | 6 |
7 #include "src/shared/assert.h" | 7 #include "src/shared/assert.h" |
8 #include "src/shared/flags.h" | 8 #include "src/shared/flags.h" |
9 #include "src/shared/test_case.h" | 9 #include "src/shared/test_case.h" |
10 | 10 |
11 #include "src/vm/vector.h" | 11 #include "src/vm/vector.h" |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 vector.Sort(IntCompare); | 277 vector.Sort(IntCompare); |
278 vector.Sort(IntReverseCompare); | 278 vector.Sort(IntReverseCompare); |
279 for (unsigned i = 1; i < vector.size(); i++) { | 279 for (unsigned i = 1; i < vector.size(); i++) { |
280 EXPECT_GE(vector[i - 1], vector[i]); | 280 EXPECT_GE(vector[i - 1], vector[i]); |
281 } | 281 } |
282 vector.Sort(FalseCompare); | 282 vector.Sort(FalseCompare); |
283 } | 283 } |
284 } | 284 } |
285 | 285 |
286 } // namespace fletch. | 286 } // namespace fletch. |
OLD | NEW |