public void IsEqualTo_WhenItemsMatch_ReturnsTrue() { int[] collection1 = new[] { 1, 2, 3 }; int[] collection2 = new[] { 1, 2, 3 }; Assert.IsTrue(collection1.IsEqualTo(collection2)); }
public void IsEqualTo_WhenLengthsAreDifferent_ReturnsFalse() { int[] collection1 = new [] { 1, 2 }; int[] collection2 = new [] { 1, 2, 3 }; Assert.IsFalse(collection1.IsEqualTo(collection2)); }
public void IsEqualTo_WhenItemsDoNotMatch_ReturnsFalse() { int[] collection1 = new[] { 1, 2, 3 }; int[] collection2 = new[] { 1, 2, 9 }; Assert.IsFalse(collection1.IsEqualTo(collection2)); }