public void TestPermutations(string input, int expectedPermutationsCount) { var perms = SetHelper.Permutations(input.Split(',').ToList()); Assert.AreEqual(expectedPermutationsCount, perms.Count); }