[Swift-devel] assertEqual

Mihael Hategan hategan at mcs.anl.gov
Thu Apr 9 14:25:40 CDT 2015


On Wed, 2015-04-08 at 11:48 -0500, Tim Armstrong wrote:
> Reviving this thread...  Probably the options are to either add an overload:
> 
> assertEqual(float v1, float v2, float tolerance, string msg)
> 
> or something like
> 
> assertAlmostEqual(float v1, float v2, float tolerance, string msg)

OK, let's go with assertAlmostEqual.

Although I would like to lobby for overloading support with keywords,
but that can wait.

Mihael





More information about the Swift-devel mailing list