public void Resolve(string word) { var result = AnagramaResolver.Resolve(word); Assert.AreEqual(AnagramaResolver.Factorial(word.Length), result.Count); }
public void Factorial(int n, int expected) { Assert.AreEqual(expected, AnagramaResolver.Factorial(n)); }