Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: tests/language/intrinsified_methods_test.dart

Issue 10248007: test rename overhaul: step 8 - language tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/language/interface_test.dart ('k') | tests/language/is_function_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // Dart test program for testing the instanceof operation. 4 // Dart test program for testing the instanceof operation.
5 5
6 6
7 testIsNegative() { 7 testIsNegative() {
8 Expect.isFalse((12.0).isNegative()); 8 Expect.isFalse((12.0).isNegative());
9 Expect.isTrue((-12.0).isNegative()); 9 Expect.isTrue((-12.0).isNegative());
10 Expect.isFalse((double.NAN).isNegative()); 10 Expect.isFalse((double.NAN).isNegative());
(...skipping 22 matching lines...) Expand all
33 testIsNegative(); 33 testIsNegative();
34 testIsNaN(); 34 testIsNaN();
35 testTrigonometric(); 35 testTrigonometric();
36 } 36 }
37 return x; 37 return x;
38 } 38 }
39 39
40 void main() { 40 void main() {
41 var m = foo(4000); 41 var m = foo(4000);
42 } 42 }
OLDNEW
« no previous file with comments | « tests/language/interface_test.dart ('k') | tests/language/is_function_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698