public void testMakeSet() { DisjointSets <string> disjSets = new DisjointSets <string>(); disjSets.makeSet("a"); Assert.AreEqual(1, disjSets.numberDisjointSets()); disjSets.makeSet("a"); Assert.AreEqual(1, disjSets.numberDisjointSets()); disjSets.makeSet("b"); Assert.AreEqual(2, disjSets.numberDisjointSets()); }