public void OneIndexNotSet1() { NewProjectDialog.Category category1 = new NewProjectDialog.Category("zz", 0); NewProjectDialog.Category category2 = new NewProjectDialog.Category("aa"); Assert.AreEqual(-1, comparer.Compare(category1, category2)); }
public void IndexNotEqual2() { NewProjectDialog.Category category1 = new NewProjectDialog.Category("zz", 1); NewProjectDialog.Category category2 = new NewProjectDialog.Category("zz", 0); Assert.AreEqual(1, comparer.Compare(category1, category2)); }
public void IndexEqual1() { NewProjectDialog.Category category1 = new NewProjectDialog.Category("aa", 0); NewProjectDialog.Category category2 = new NewProjectDialog.Category("bb", 0); Assert.AreEqual(-1, comparer.Compare(category1, category2)); }
public void NameNotEqual2() { NewProjectDialog.Category category1 = new NewProjectDialog.Category("bb"); NewProjectDialog.Category category2 = new NewProjectDialog.Category("aa"); Assert.AreEqual(1, comparer.Compare(category1, category2)); }