public bool Equals(Model other) { if(ReferenceEquals(null, other)) return false; if(ReferenceEquals(this, other)) return true; return Equals(other.FilePath, FilePath) && Equals(other.ResourceName, ResourceName) && Equals(other._content, _content); }
public bool TestModelEquality(Model m1, Model m2) { bool res = m1.Equals(m2); return res; }
public bool GettingModelContent(Model model, byte[] expectedContent) { byte[] content; bool res = TryGetContentFromModel(model, out content); Assert.AreEqual(expectedContent, content); return res; }