fixes broken tests - bad james!
This commit is contained in:
@@ -117,7 +117,7 @@ fun LinkedList<Int>.sum(f : (Int, Int )-> Int): Int {
|
||||
// }
|
||||
//}
|
||||
|
||||
fun Char.isDigit() = Character.isDigit(this)
|
||||
// fun Char.isDigit() = Character.isDigit(this)
|
||||
|
||||
fun Reader.forEachChar(body : (Char) -> Unit) {
|
||||
do {
|
||||
|
||||
@@ -86,7 +86,7 @@ class Luhny() {
|
||||
}
|
||||
}
|
||||
|
||||
fun Char.isDigit() = Character.isDigit(this)
|
||||
// fun Char.isDigit() = Character.isDigit(this)
|
||||
|
||||
fun java.lang.Iterable<Int>.sum(f : (index : Int, value : Int) -> Int) : Int {
|
||||
var sum = 0
|
||||
|
||||
@@ -103,7 +103,7 @@ fun <T> List<T>.backwards() : Iterable<T> = object : Iterable<T> {
|
||||
}
|
||||
}
|
||||
|
||||
fun Char.isDigit() = Character.isDigit(this)
|
||||
// fun Char.isDigit() = Character.isDigit(this)
|
||||
|
||||
//class Queue<T>(initialBufSize : Int) {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user