The addition of this API: xunit/assert.xunit@8e86f1d
public static void Equal(float expected, float actual, float tolerance)
Created an ambiguity for code that was calling Assert.Equal(float, float, int)
Here's a sample error:
error CS0121: The call is ambiguous between the following methods or properties: 'Assert.Equal(double, double, int)' and 'Assert.Equal(float, float, float)'
This could be avoided by adding an overload for Assert.Equal(float, float, int) that calls Assert.Equal(double, double, int) if this break was unintentional.
Repro project: xunitAssert.zip
The addition of this API: xunit/assert.xunit@8e86f1d
Created an ambiguity for code that was calling
Assert.Equal(float, float, int)Here's a sample error:
This could be avoided by adding an overload for
Assert.Equal(float, float, int)that callsAssert.Equal(double, double, int)if this break was unintentional.Repro project: xunitAssert.zip