public void LinkedEqualsInlineTest() { var script1 = new LinkedScript("path/to/script"); var script2 = new InlineScript("path/to/script"); Assert.IsFalse(script1.Equals(script2)); Assert.IsFalse(script2.Equals(script1)); }
public void LinkedEqualsLinkedTest2() { var script1 = new LinkedScript("path/to/script1"); var script2 = new LinkedScript("path/to/script2"); Assert.IsFalse(script1.Equals(script2)); Assert.IsFalse(script2.Equals(script1)); }
public void LinkedEqualsInlineTest2() { var script1 = new LinkedScript("path/to/script"); var script2 = new InlineScript("path/to/script"); var obj = (object)script2; Assert.IsFalse(script1.Equals(obj)); Assert.IsFalse(obj.Equals(script1)); }
public void LinkedEqualsLinkedTest3() { var script1 = new LinkedScript("path/to/script"); var script2 = new LinkedScript("path/to/script"); var obj = (object)script2; Assert.IsTrue(script1.Equals(obj)); Assert.IsTrue(obj.Equals(script1)); }