Esempio n. 1
0
        public void Resolve(string word)
        {
            var result = AnagramaResolver.Resolve(word);

            Assert.AreEqual(AnagramaResolver.Factorial(word.Length), result.Count);
        }
Esempio n. 2
0
 public void Factorial(int n, int expected)
 {
     Assert.AreEqual(expected, AnagramaResolver.Factorial(n));
 }