Added simple test for word selection.

This commit is contained in:
Evgeny Gerashchenko
2012-02-24 19:24:41 +04:00
parent 0bcdb9a95e
commit d6fa5b8921
13 changed files with 340 additions and 0 deletions
@@ -0,0 +1,24 @@
fun main(args : Array<String>) {
for (i in 1..100) {
when {
i%3 == 0 -> {print("Fizz"); continue;}
i%5 == 0 -> {print("Buzz"); continue;}
(i%3 != 0 && i%5 != 0) -> {print(i); continue;}
else -> println()
}
}
}
fun foo() : Unit {
println() {
println()
<selection> pr<caret>intln()
</selection> println()
}
println(array(1, 2, 3))
println()
}