OLD | NEW |
1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 #library("unicode_tests"); | 6 #library("unicode_tests"); |
7 #import("dunit.dart"); | 7 #import("dunit.dart"); |
8 #import("../../../lib/utf/utf.dart"); | 8 #import("../../../lib/utf/utf.dart"); |
9 | 9 |
10 void main() { | 10 void main() { |
(...skipping 27 matching lines...) Expand all Loading... |
38 } | 38 } |
39 | 39 |
40 void testEmptyCodepointsToString() { | 40 void testEmptyCodepointsToString() { |
41 Expect.stringEquals("", codepointsToString(<int>[])); | 41 Expect.stringEquals("", codepointsToString(<int>[])); |
42 } | 42 } |
43 | 43 |
44 void testEmptyStringToCodepoints() { | 44 void testEmptyStringToCodepoints() { |
45 Expect.listEquals([], stringToCodepoints("")); | 45 Expect.listEquals([], stringToCodepoints("")); |
46 } | 46 } |
47 } | 47 } |
OLD | NEW |