public void EquivalentTypeComparerTest1() { EquivalentTypeComparer equivalentTypeComparer = new EquivalentTypeComparer(); Assert.IsTrue(equivalentTypeComparer.Equals( methodInfoParameter.ReturnType, methodInfoParameter.GetParameterTypes().First())); }
public void EquivalentTypeComparerTest3() { EquivalentTypeComparer equivalentTypeComparer = new EquivalentTypeComparer(); Assert.IsFalse(equivalentTypeComparer.Equals(typeof(string), typeof(object))); }