Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr.Potapov committed May 4, 2023
1 parent 525a486 commit f17c917
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ class BooleanGen(randomProvider: RandomProvider, configuration: String) : Parame
private val random = randomProvider.createRandom()

override fun generate() = random.nextBoolean()
override fun resetRange() {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ import org.jetbrains.kotlinx.lincheck.RandomProvider
*/
class ThreadIdGen(randomProvider: RandomProvider, configuration: String) : ParameterGenerator<Any> {
override fun generate() = THREAD_ID_TOKEN

override fun resetRange() {
}
}

internal val THREAD_ID_TOKEN = Any()

0 comments on commit f17c917

Please sign in to comment.