[Swift-devel] assertEqual
Mihael Hategan
hategan at mcs.anl.gov
Fri Apr 10 13:02:26 CDT 2015
wait, wouldn't assertEqual(float, float, float, msg = ) be a doable
overload in /T to assertEqual(float, float, msg =)?
Or do we want it to be assertAlmostEqual because we think that's a
better name for it?
Mihael
On Thu, 2015-04-09 at 12:25 -0700, Mihael Hategan wrote:
> 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
>
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
More information about the Swift-devel
mailing list