Skip to content

Instantly share code, notes, and snippets.

View lynnfield's full-sized avatar

Vladimir Genovich lynnfield

View GitHub Profile
import Piece.Companion.fromNotation
// Chess game
// Load state of Game
val notation = listOf("pa3", "qc5")
fun main() {
val toPieceTypeContext = object : ToPieceTypeContext {
override val charToPieceType = super.charToPieceType
import okhttp3.*
import okhttp3.internal.closeQuietly
import org.junit.Test
import java.io.File
import java.io.IOException
import java.util.concurrent.TimeUnit
class CacheTest {
@Test
import okhttp3.Cache
import okhttp3.OkHttpClient
import okhttp3.Request
import org.junit.Test
import java.io.File
class CacheTest {
@Test
fun test() {
val directory = File("./cache")