def args in constructors

This commit is contained in:
Alex Tkachman
2012-02-09 20:36:09 +02:00
parent 5c8fb3febf
commit 8e6e8e938c
3 changed files with 20 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
package test.concurrent
import std.concurrent.*
import junit.framework.*
class FListTest() : TestCase() {
fun testEmpty() {
val empty = FunctionalQueue<Int> ()
Assert.assertTrue(empty.empty)
}
fun testNonEmpty() {
// val empty = FunctionalList.emptyList<Int> ()
// assertTrue(!(empty + 10).empty)
}
}