[Swift-devel] assertEqual

Mihael Hategan hategan at mcs.anl.gov
Sun Apr 5 21:17:23 CDT 2015


Hi,

I found it useful to have a tolerance parameter for assertEqual(float,
float).

Checks like assertEqual(tan(x), sin(x) / cos(x)) are otherwise not going
to work very well.

Mihael




More information about the Swift-devel mailing list