Ejemplo n.º 1
0
            public void StaticEqualityComparerWithNull()
            {
                ArrayList <double> arr = new ArrayList <double>();

                SCG.IEqualityComparer <double> eqc = C5.EqualityComparer <double> .Default;
                Assert.IsTrue(CollectionBase <double> .StaticEquals(arr, arr, eqc));
                Assert.IsTrue(CollectionBase <double> .StaticEquals(null, null, eqc));
                Assert.IsFalse(CollectionBase <double> .StaticEquals(arr, null, eqc));
                Assert.IsFalse(CollectionBase <double> .StaticEquals(null, arr, eqc));
            }