Re: Fwd: Fwd: Assume
"Kelly Anderson" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Feb 15, 2008 at 11:29 AM, Vaughn, Clifton <[email protected]> wrote: > I don't think it needs to cause an error, but it should signal that the > data didn't meet the assumptions unless along with the data you included > a flag to signal when an error should be thrown. > > Either a signature like this: > > Check.That(meetsAssumptions, 2+2, Is.EqualTo(data) ) > > Or meetsAssumptions is added as a condition. > > Thanks Cliff, out of curiosity, have you read any of the Theory papers yet? I am curious only as to the context of your comment. -Kelly ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/