public void ContainsEqualForm_DifferentStarred_False() { MultiTextBase x = new MultiTextBase(); x["ws"] = "test"; LanguageForm form = new LanguageForm(); form.WritingSystemId = "ws"; form.Form = "test"; form.IsStarred = true; Assert.IsFalse(x.ContainsEqualForm(form)); }
public void ContainsEqualForm_SameContent_True() { MultiTextBase x = new MultiTextBase(); x["ws1"] = "testing"; x["ws"] = "test"; x["ws2"] = "testing"; LanguageForm form = new LanguageForm(); form.WritingSystemId = "ws"; form.Form = "test"; Assert.IsTrue(x.ContainsEqualForm(form)); }