Esempio n. 1
0
        public void GetPrimeFamilyLength13()
        {
            var solver = new ProblemSolver();
            var result = solver.GetPrimeFamilyLength(13, new int[] { 1 });
            Assert.That(result, Is.EqualTo(4));

            result = solver.GetPrimeFamilyLength(13, new int[] { 0 });
            Assert.That(result, Is.EqualTo(6));
        }
Esempio n. 2
0
 public void GetPrimeFamilyLength()
 {
     var solver = new ProblemSolver();
     var result = solver.GetPrimeFamilyLength(56003, new int[] {2, 3});
     Assert.That(result, Is.EqualTo(7));
 }