Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Commit

Permalink
Update detekt configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed Jul 1, 2019
1 parent d6fb32a commit 8fcd6a1
Show file tree
Hide file tree
Showing 4 changed files with 442 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.github.jcornaz.kwik


import kotlin.random.Random

private const val SAMPLE_PROBABILITY = 0.15
Expand Down
2 changes: 0 additions & 2 deletions core/src/commonMain/kotlin/com/github/jcornaz/kwik/Runner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ inline fun <reified A, reified B> forAll(
* @param property Function invoked multiple times with random inputs to assess a property of the System under test.
* Must return a boolean (true = satisfied, false = falsified)
*/
@Suppress("LongParameterList")
inline fun <reified A, reified B, reified C> forAll(
generatorA: Generator<A> = Generator.default(),
generatorB: Generator<B> = Generator.default(),
Expand All @@ -133,7 +132,6 @@ inline fun <reified A, reified B, reified C> forAll(
* @param property Function invoked multiple times with random inputs to assess a property of the System under test.
* Must return a boolean (true = satisfied, false = falsified)
*/
@Suppress("LongParameterList")
inline fun <reified A, reified B, reified C, reified D> forAll(
generatorA: Generator<A> = Generator.default(),
generatorB: Generator<B> = Generator.default(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.github.jcornaz.kwik.Generator
import com.github.jcornaz.kwik.filterNot
import com.github.jcornaz.kwik.withSamples

@Suppress("MagicNumber", "TopLevelPropertyNaming")
@Suppress("MagicNumber")
private val PRINTABLE_CHARACTERS = (32..127).map { it.toChar() }.toSet()

/**
Expand Down
Loading

0 comments on commit 8fcd6a1

Please sign in to comment.