public void PermutationWithDups(string value, int numberOfPermutations) { var result = Dynamic.AllPermutationsWithDups(value); Assert.AreEqual(result.Count, numberOfPermutations); }