NUnit 3.13.1
Consider the following test class (from your own codebase):
[Category("Generics")]
[TestFixture(100.0, 42)]
[TestFixture(42, 100.0)]
public class DeduceTypeArgsFromArgs<T1, T2>
{
T1 t1;
T2 t2;
public DeduceTypeArgsFromArgs(T1 t1, T2 t2)
{
this.t1 = t1;
this.t2 = t2;
}
[TestCase(5, 7)]
public void TestMyArgTypes(T1 t1, T2 t2)
{
Assert.That(t1, Is.TypeOf<T1>());
Assert.That(t2, Is.TypeOf<T2>());
}
}
Expected type args:
System.Double, System.Int32
System.Int32, System.Double
Actual type args:
System.Double, System.Double
System.Double, System.Double
P.S. I fixed it (and wrote tests) but could not commit to a new branch in your repository so as I could make a pull request. How do I do that?
remote: Permission to nunit/nunit.git denied to estrizhok.
fatal: unable to access 'https://github.com/nunit/nunit.git/': The requested URL returned error: 403
NUnit 3.13.1
Consider the following test class (from your own codebase):
Expected type args:
System.Double,System.Int32System.Int32,System.DoubleActual type args:
System.Double,System.DoubleSystem.Double,System.DoubleP.S. I fixed it (and wrote tests) but could not commit to a new branch in your repository so as I could make a pull request. How do I do that?