Closed non closed 9 years ago
Our tests have a lot of lines like these:
checkAll("List[Int]", OrderLaws[List[Int]].order) checkAll("List[Int]", GroupLaws[List[Int]].monoid) checkAll("List[String]", OrderLaws[List[String]].order) checkAll("List[String]", GroupLaws[List[String]].monoid)
In addition to being annoyingly repetitive these calls introduce the very real possibility that the label and the actual code being run can be in disagrement.
It would be nice to use a macro (or similar) to remove the duplication.
Our tests have a lot of lines like these:
In addition to being annoyingly repetitive these calls introduce the very real possibility that the label and the actual code being run can be in disagrement.
It would be nice to use a macro (or similar) to remove the duplication.