Closed ceedubs closed 8 years ago
:+1: @non any objection?
@ceedubs Not abusing, this is what extraTag
was introduced for. Otherwise it results in exactly the same property names as
laws[OrderLaws, Int].check(_.order)
in the same test suite.
:+1:
This provides a conversion from
scala.math.Ordering
toalgebra.Order
.I might be abusing the
extraTag
form of thelaws
function, I'm not sure. If I don't provide a label then I get a duplicate test name error.