public void TestAddID() { Identifiable_Object obj = new Identifiable_Object(new string[] { "obj1", "obj2" }); obj.AddIdentifier("obj3"); Assert.IsTrue(obj.AreYou("obj3"), "should be true"); }
public void TestCaseSensitive() { Identifiable_Object obj = new Identifiable_Object(new string[] { "obj1", "obj2" }); Assert.IsTrue(obj.AreYou("oBj1"), "should be true"); }
public void TestAreYouNot() { Identifiable_Object obj = new Identifiable_Object(new string[] { "obj1", "obj2" }); Assert.IsFalse(obj.AreYou("obj5"), "should be false"); }