diff options
Diffstat (limited to 'tests/pending/pos/ted.scala')
-rw-r--r-- | tests/pending/pos/ted.scala | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/pending/pos/ted.scala b/tests/pending/pos/ted.scala deleted file mode 100644 index 314f10932..000000000 --- a/tests/pending/pos/ted.scala +++ /dev/null @@ -1,18 +0,0 @@ -object App -{ - def exponentiate(base : Double, exponent : Double) : Double = - (base, exponent) match - { - case (0, 0) => 1.0 - case (b, 0) => 1.0 - case (b, 1) => b - case (b, e) => b * exponentiate(b, e - 1) - } - - - - def main(args : Array[String]) = - System.out.println(exponentiate(2, 2)) - -} - |