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

Unified Diff: LayoutTests/dart/fib.dart

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/dart/dromaeo-based-tests-expected.txt ('k') | LayoutTests/dart/fib.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/fib.dart
diff --git a/LayoutTests/dart/fib.dart b/LayoutTests/dart/fib.dart
deleted file mode 100644
index a7e3ffad676a36a8bc978adfafad9618620e4168..0000000000000000000000000000000000000000
--- a/LayoutTests/dart/fib.dart
+++ /dev/null
@@ -1,26 +0,0 @@
-class Main {
- static int fib(int n) {
- if (n < 2)
- return n;
- else
- return fib(n - 1) + fib(n - 2);
- }
-
- // FIXME: Make this a unit test.
- static HTMLBodyElement get body() { return document.body; }
-
- static void main() {
- log("fib(10) = " + fib(10));
- if (fib(10) != 55) {
- log("FAIL");
- return;
- }
- log("PASS");
- }
-
- static void log(String msg) {
- HTMLElement element = document.createElement('div');
- element.innerHTML = msg;
- body.appendChild(element);
- }
-}
« no previous file with comments | « LayoutTests/dart/dromaeo-based-tests-expected.txt ('k') | LayoutTests/dart/fib.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698