Clean size/length/first/head/empty properties and functions.

This commit is contained in:
Ilya Ryzhenkov
2014-11-14 17:30:13 +03:00
parent 828ba385ea
commit fa0542b801
42 changed files with 498 additions and 457 deletions
+2 -2
View File
@@ -10,13 +10,13 @@ import org.junit.Test as test
class OldStdlibTest() {
test fun testCollectionEmpty() {
assertNot {
listOf(0, 1, 2).empty
listOf(0, 1, 2).isEmpty()
}
}
test fun testCollectionSize() {
assertTrue {
listOf(0, 1, 2).size == 3
listOf(0, 1, 2).size() == 3
}
}