We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c1fb2 commit c978456Copy full SHA for c978456
scalacheck/src/test/scala/magnolify/scalacheck/CogenDerivationSuite.scala
@@ -36,13 +36,7 @@ class CogenDerivationSuite extends MagnolifySuite {
36
implicit val arbList: Arbitrary[List[T]] = Arbitrary(Gen.listOfN(10, arb.arbitrary))
37
property(s"$name.uniqueness") {
38
Prop.forAll { (seed: Seed, xs: List[T]) =>
39
- val coper = xs.map(co.perturb(seed, _))
40
- val result = coper.toSet.size == xs.toSet.size
41
- if (!result) {
42
- println("coper: " + coper)
43
- println("origin: " + xs)
44
- }
45
- result
+ xs.map(co.perturb(seed, _)).toSet.size == xs.toSet.size
46
}
47
48
property(s"$name.consistency") {
0 commit comments