public void TestListWithJustTwoItem() { FindAllPossibleSubsets c = new FindAllPossibleSubsets(); List <List <string> > result = c.HandleFindAllPossibleSubsets(new List <string>() { "a", "b", "c" }); Assert.AreEqual(7, result.Count); }
public void TestListWithJustOneItem() { FindAllPossibleSubsets c = new FindAllPossibleSubsets(); List <List <string> > result = c.HandleFindAllPossibleSubsets(new List <string>() { "a" }); Assert.AreEqual(1, result.Count); Assert.AreEqual("a", result[0][0]); }