[phobos] phobos commit, revision 1678

David Simcha dsimcha at gmail.com
Tue Jun 22 07:58:35 PDT 2010


Realistically, how would you recommend testing something like this?  I
checked to make sure that there was something instantiating each version of
the structs to make sure that they compile (i.e. no silly syntax errors),
and as for the logical correctness, it seemed like the code was so trivial
that it would  be silly to write an explicit test for it.  Furthermore, the
precedent in the rest of Phobos seems to be that such trivial code does not
require testing.

On Tue, Jun 22, 2010 at 10:30 AM, Brad Roberts <braddr at puremagic.com> wrote:

> On 6/22/2010 5:31 AM, dsource.org wrote:
> > phobos commit, revision 1678
> >
> >
> > user: dsimcha
> >
> > msg:
> > Bug 4362:  std.range.repeat and cycle do not have a .save() method
> >
> > http://www.dsource.org/projects/phobos/changeset/1678
>
> Don't forget to add unit tests. :)
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100622/0d44e71e/attachment.html>


More information about the phobos mailing list