Lars T. Kyllingstad Wrote:
> Instead of stuff like
>
> foreach(cell; record) {
> assert(ans[count] == cell);
> count++;
> }
>
> may I suggest you write
>
> import std.algorithm;
> assert (equal(record, ans));
>
> ? :)
>
> -LarsThanks, I guess I'm a little worried that it doesn't show how to use it, but it should be clear enough for D programmers. Definitely will help my unit tests.
