Kelly Anderson
2008-08-27 20:27:36 UTC
This is pretty picky, but... it would sure seem to make more sense for
the sort order in the NUnit GUI tree to be numeric rather than
alphabetic for this sort of test. Not sure if that's hard, but it's
visually disconcerting.
[Test]
public void WhatGoesInComesOut([Range(5.0, 15.0, 0.3)] double d)
{
double q = d;
Assert.That(d, Is.EqualTo(q));
}
-Kelly
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
the sort order in the NUnit GUI tree to be numeric rather than
alphabetic for this sort of test. Not sure if that's hard, but it's
visually disconcerting.
[Test]
public void WhatGoesInComesOut([Range(5.0, 15.0, 0.3)] double d)
{
double q = d;
Assert.That(d, Is.EqualTo(q));
}
-Kelly
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/