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

Unified Diff: tests/compiler/dart2js_extra/math_lib_prefix_test.dart

Issue 11367087: Added nextIntRange to dartvm and dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js_extra/math_lib_prefix_test.dart
diff --git a/tests/compiler/dart2js_extra/math_lib_prefix_test.dart b/tests/compiler/dart2js_extra/math_lib_prefix_test.dart
index 2e18f5e7c4be7e8e4914874b87673e0572e511d4..3ae280de097c076d3acf1bd5663c2d141563580b 100644
--- a/tests/compiler/dart2js_extra/math_lib_prefix_test.dart
+++ b/tests/compiler/dart2js_extra/math_lib_prefix_test.dart
@@ -10,6 +10,7 @@ main() {
Expect.equals(2.25, foo.pow(1.5, 2.0));
int i = new foo.Random().nextInt(256);
+ int r = new foo.Random().nextIntRange(1, 256);
double d = new foo.Random().nextDouble();
bool b = new foo.Random().nextBool();
}

Powered by Google App Engine
This is Rietveld 408576698