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

Re: Unit-Test fails


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.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: Unit-Test failsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
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>