public void IsEqualTo_WhenDifferentOrder_ShouldReturnFalse() { //---------------Set up test pack------------------- var myInts1 = new[] { 1, 3, 5 }; var myInts2 = new[] { 1, 5, 3 }; //---------------Execute Test ---------------------- var areEqual = myInts1.IsEqualTo(myInts2); //---------------Test Result ----------------------- Assert.IsFalse(areEqual); }
public void IsEqualTo() { //---------------Set up test pack------------------- var myInts1 = new[] { 1, 3, 5, 10 }; var myInts2 = new[] { 1, 3, 5, 10 }; //---------------Execute Test ---------------------- var areEqual = myInts1.IsEqualTo(myInts2); //---------------Test Result ----------------------- Assert.IsTrue(areEqual); }