Exemplo n.º 1
0
            public bool Equal(DistinctTestCase testCase)
            {
                if (object.ReferenceEquals(null, testCase))
                {
                    return(false);
                }

                if (object.ReferenceEquals(this, testCase))
                {
                    return(true);
                }

                return(IsEqual(testCase));
            }
Exemplo n.º 2
0
 private bool IsEqual(DistinctTestCase testCase)
 {
     return(testCase.Int.Equals(this.Int) &&
            testCase.Double.Equals(this.Double) &&
            testCase.String.Equals(this.String));
 }