[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit-Test fails


Le 29/01/2025 à 16:26, T Lee Davidson a écrit :
On 1/29/25 5:37 AM, Christof Thalhofer wrote:
The appropriate test for floating point is 'Assert.Approximate'.

I have placed that info on the Wiki for Assert.Equals.

BTW, I noticed that the parameters in the description for Assert.Approximate are bracketed by underscores: "Asserts that _Got_ has an absolute error to _Expected_ of at most _Precision_."
I don't know if that was intentional.


It's a typo. The character for delimiting function arguments is "~" in the wiki, not "_".

It has been fixed, but not yet propagated to the wiki.

Regards,

--
Benoît Minisini.


References:
Unit-Test failsClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Unit-Test failsT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: Unit-Test failsChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Unit-Test failsT Lee Davidson <t.lee.davidson@xxxxxxxxx>