Added a test

This commit is contained in:
Valentin Kipyatkov
2014-11-20 12:29:33 +03:00
parent 166d580682
commit 4ca8a3400e
3 changed files with 23 additions and 0 deletions
@@ -0,0 +1,13 @@
fun foo(c: Collection<String>): Collection<String> {
return <caret>c.filter {
val v = it.length
val v1 = v * v
if (v1 > 10) {
true
}
else {
println()
it[0] == 'a'
}
}
}