POV-Ray : Newsgroups : povray.off-topic : Unit tests : Re: Unit tests Server Time
4 Sep 2024 09:21:28 EDT (-0400)
  Re: Unit tests  
From: Invisible
Date: 4 Jun 2010 04:07:48
Message: <4c08b454@news.povray.org>
Darren New wrote:

> Heck, for that matter anything returning a zero-length array would pass. 
> OK, to be *comprehensive*, you would have to add that the result is a 
> permutation of the original. You could do this by counting how many 
> times each original value occurs in the list and making sure it occurs 
> in the result the same number of times.

Let's hope Warp doesn't ask us to test for a *stable* sort...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.