secant-android-wallet/spackle-lib/src/commonTest/kotlin/co/electriccoin/zcash/spackle/model/IndexTest.kt

14 lines
258 B
Kotlin

package co.electriccoin.zcash.spackle.model
import kotlin.test.Test
import kotlin.test.assertFailsWith
class IndexTest {
@Test
fun out_of_bounds() {
assertFailsWith(IllegalArgumentException::class) {
Index(-1)
}
}
}