public void Change_DifferentTypes() { ResourceDetail r1 = new ResourceDetail(null, "test", new byte[0]); StubDetail s1 = new StubDetail("x1", null, Visibility.Public); r1.PerformCompare(s1); }
public void Resource_Changed() { ResourceDetail ri1 = ExtractResource(Subjects.One, "BitDiffer.Tests.Subject.ResourceB.txt"); ResourceDetail ri2 = ExtractResource(Subjects.Two, "BitDiffer.Tests.Subject.ResourceB.txt"); Assert.AreEqual(ChangeType.ContentChanged, ri1.PerformCompare(ri2)); }