private IEnumerable <ITestRule> GetStrongEqualsReturns(T instance, T other, bool result, string testCase) => StrongEqualsMethod.Select( method => MethodReturns <T, bool> .InstanceMethod(method, instance, result, testCase, other));
private IEnumerable <Rules.ITestRule> GetEqualityOperatorReturns(T instance, T other, bool result, string testCase) => this.EqualityOperator.Select <MethodInfo, Rules.MethodReturns <T, bool> >( method => MethodReturns <T, bool> .Operator(method, "operator ==", instance, other, result, testCase));
private IEnumerable <ITestRule> GetInequalityOperatorReturns(T instance, T other, bool result, string testCase) => InequalityOperator.Select( method => MethodReturns <T, bool> .Operator(method, "operator !=", instance, other, result, testCase));
private IEnumerable <Rules.ITestRule> GetEqualsReturns(T instance, T other, bool result, string testCase) => this.EqualsMethod.Select <MethodInfo, Rules.MethodReturns <T, bool> >( method => MethodReturns <T, bool> .InstanceMethod(method, instance, result, testCase, other));