public bool Equal(DistinctTestCase testCase) { if (object.ReferenceEquals(null, testCase)) { return(false); } if (object.ReferenceEquals(this, testCase)) { return(true); } return(IsEqual(testCase)); }
private bool IsEqual(DistinctTestCase testCase) { return(testCase.Int.Equals(this.Int) && testCase.Double.Equals(this.Double) && testCase.String.Equals(this.String)); }