Skip to content

Commit

Permalink
Disabling publish on intellij project as this is a work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Apr 8, 2018
1 parent 20ef02d commit cfb150e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
@@ -0,0 +1,15 @@
//package io.kotlintest.assertions.arrow.gen
//
//import arrow.core.Tuple2
//import io.kotlintest.properties.Gen
//
//fun <A, B, T> genT(fn: Tuple2<A, B>): Gen<T> = object : Gen<T> {
//
// init {
// println(fn::class.typeParameters)
// }
//
// override fun constants(): Iterable<T> = emptyList()
// override fun random(): Sequence<T> =
// generateSequence { TODO() }
//}
4 changes: 3 additions & 1 deletion kotlintest-intellij/build.gradle
Expand Up @@ -14,4 +14,6 @@ intellij {
downloadSources = true
version = '2016.3'
plugins = ['org.jetbrains.kotlin:1.2.0-release-IJ2016.3-1']
}
}

uploadArchives.enabled = false
@@ -0,0 +1,24 @@
//package com.sksamuel.kotlintest.tests.assertions.arrow
//
//import arrow.core.Tuple2
//import io.kotlintest.assertions.arrow.gen.genT
//import io.kotlintest.specs.StringSpec
//
//@product
//data class Person(val name: String, val age: Int) {
// init {
// require(age > 0,
// { "Age should be greater than zero" })
// }
//
// companion object
//}
//
//class GenTTest : StringSpec({
//
// fun tupleToAccount(t: Tuple2<Int, Int>): Person = t.toAccount()
//
// "GenT should infer types for tuples" {
// genT()
// }
//})

0 comments on commit cfb150e

Please sign in to comment.