News for hackers. Stuff that matters.
Re:Hypothesis: Property-Based Testing for Python by thekoma on Wednesday November 05, 2025 @04:13AM (#45820976)
Indeed. For a sorting algorithm it would be more insightful to show it test the actual property of something that is sorted: every consecutive element is larger than the previous one (or the other way around). You don’t need a sorting function to test the “sorted” property.

There are no comments on this comment yet.