Phobos should provide unit testing faciilities

Quirin Schroll qs.il.paperinik at gmail.com
Mon Sep 12 14:20:41 UTC 2022


On Monday, 12 September 2022 at 14:04:40 UTC, Steven 
Schveighoffer wrote:
> Like a forward-range-accepting functions should be tested to 
> make sure it's properly using `.save` when copying, one could 
> probably construct a range that doesn't work without using that 
> method.

You got me. I never used `.save` and were I to write a 
range-consuming function, I’d forget about it, but the 
`AllKindsOfRanges` sequence wouldn’t. The community as a whole 
will probably not miss much and with time fill in all the gaps.


More information about the Digitalmars-d mailing list