public bool Equals(IFileInformation x, IFileInformation y) { if (x == null || y == null) { return(x == y); } if (x.Length == y.Length && Arrays.AreEquivalent(x.MD5Hash, y.MD5Hash)) { return(true); } return(false); }
public void ValueArrayEquivalencyTest(int[] left, int[] right, bool expected) { Arrays.AreEquivalent(left, right).Should().Be(expected); }
public void ReferenceArrayEquivalencyTest(string[] left, string[] right, bool expected) { Arrays.AreEquivalent(left, right).Should().Be(expected); }