New J2K: Split old j2k and new j2k tests
This commit is contained in:
committed by
Ilya Kirillov
parent
02a206bf7c
commit
b411e8e18e
-13
@@ -1,13 +0,0 @@
|
||||
test@ for (i in 0..max) {
|
||||
var n: Int = substring.length()
|
||||
var j = i
|
||||
var k = 0
|
||||
while (n-- != 0) {
|
||||
if (searchMe.charAt(j++) !== substring.charAt(k++)) {
|
||||
continue@test
|
||||
}
|
||||
}
|
||||
foundIt = true
|
||||
break@test
|
||||
}
|
||||
println(if (foundIt) "Found it" else "Didn't find it")
|
||||
Reference in New Issue
Block a user