Adjust various testData to size transformation

This commit is contained in:
Denis Zharkov
2015-10-06 11:11:18 +03:00
parent a0e9754edc
commit c21d827326
42 changed files with 59 additions and 59 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
package collections
fun <T> testCollection(c: Collection<T>, t: T) {
c.size()
c.size
c.isEmpty()
c.contains(1)
val <!UNUSED_VARIABLE!>iterator<!>: Iterator<T> = c.iterator()
@@ -17,7 +17,7 @@ fun <T> testCollection(c: Collection<T>, t: T) {
}
fun <T> testMutableCollection(c: MutableCollection<T>, t: T) {
c.size()
c.size
c.isEmpty()
c.contains(1)
val <!UNUSED_VARIABLE!>iterator<!>: Iterator<T> = c.iterator()
@@ -59,7 +59,7 @@ fun <T> testMutableList(l: MutableList<T>, t: T) {
}
fun <T> testSet(s: Set<T>, t: T) {
s.size()
s.size
s.isEmpty()
s.contains(1)
val <!UNUSED_VARIABLE!>iterator<!>: Iterator<T> = s.iterator()
@@ -75,7 +75,7 @@ fun <T> testSet(s: Set<T>, t: T) {
}
fun <T> testMutableSet(s: MutableSet<T>, t: T) {
s.size()
s.size
s.isEmpty()
s.contains(1)
val <!UNUSED_VARIABLE!>iterator<!>: Iterator<T> = s.iterator()