From the printouts i see this code just does 10 random sampling of of combinations of 3 boolean values
Q: How can i get scalacheck to test all combinations of 3 boolean values. There should be 8 distinct lines of printouts
property("booleanAndMonoid should obey associativeLaw") {
def associativeLaw[A](x:A, y:A, z:A)(implicit m:Monoid[A]):Boolean = m.combine(x, m.combine(y,z)) == m.combine(m.combine(x,y), z)
forAll { (b1:Boolean, b2:Boolean, b3:Boolean) =>
println(s"$b1 $b2 $b3")
associativeLaw[Boolean](b1, b2, b3) should be (true)
}
}