Closed non closed 9 years ago
This commit makes sure we run our law tests on the ring produced by Bool[Boolean].asCommutativeRing.
We might want to audit other typeclass-producing methods to ensure that we do at least some law-checking on those instances as well.
Review by @TomasMikula and @johnynek.
(I confirmed that this test caught the error before I changed the .asCommutativeRing implementation.)
.asCommutativeRing
Looks good to me.
This commit makes sure we run our law tests on the ring produced by Bool[Boolean].asCommutativeRing.
We might want to audit other typeclass-producing methods to ensure that we do at least some law-checking on those instances as well.
Review by @TomasMikula and @johnynek.