Skip to content

Commit

Permalink
enable scala-native test
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Aug 25, 2024
1 parent ba67212 commit 89118a3
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package scalaprops

import scalaprops.ScalapropsShapeless.*

object ScalapropsShapelessTest extends Scalaprops {
sealed trait A1 extends Product
object A1 {
final case class A2(x: Int) extends A1
final case class A3(x1: Boolean, x2: Long) extends A1
}
sealed trait A1 extends Product

object A1 {
final case class A2(x: Int) extends A1
final case class A3(x1: Boolean, x2: Long) extends A1
}

object ScalapropsShapelessTest extends Scalaprops {
val genTest1 = Property.forAll { (seed: Long) =>
Gen[A1].infiniteIterator(seed = seed).take(100).toList.groupBy(_.getClass.getName).size == 2
}
Expand Down

0 comments on commit 89118a3

Please sign in to comment.