typelevel / scalacheck

Property-based testing for Scala
http://www.scalacheck.org
BSD 3-Clause "New" or "Revised" License
1.94k stars 405 forks source link

Add Cogen instances for SortedSet and SortedMap #927

Closed isomarcte closed 1 year ago

isomarcte commented 1 year ago

This commit also updates the Map and Set instances to proxy to the SortedMap and SortedSet instances as they already required sorting the Map/Set in order to yield a consistent iteration of the underlying structure.