dbl -> toDouble

This commit is contained in:
Alex Tkachman
2012-02-22 13:14:41 +02:00
parent 18990e2c1b
commit 53bba59a4f
79 changed files with 335 additions and 298 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ class StringTest() : TestCase() {
fun testStringIterator() {
var sum = 0
for(c in "239")
sum += (c.int - '0'.int)
sum += (c.toInt() - '0'.toInt())
assertTrue(sum == 14)
}
@@ -22,7 +22,7 @@ class StringTest() : TestCase() {
println(sb)
for(c in sb)
sum += (c.int - '0'.int)
sum += (c.toInt() - '0'.toInt())
assertTrue(sum == 14)
}
}