Exemplo n.º 1
0
        public void GetDivisorsNaive_Examples_AreCorrect(ulong number, ulong[] expectedDivisors)
        {
            var actual = Factorization.GetDivisorsNaive(number).ToArray();

            CollectionAssert.AreEquivalent(expectedDivisors, actual, "Divisors for {0} are wrong", number);
        }