public void ExceptionTest()
 {
     for (int i = 2; i < 100; i++)
     {
         Assert.DoesNotThrow(() => CommonPrimeDivisors.PrimeDivisors(i));
     }
 }
 public void GetPrimeDivisors()
 {
     Assert.AreEqual(new List <int>()
     {
         3, 5
     }, CommonPrimeDivisors.PrimeDivisors(15));
     Assert.AreEqual(new List <int>()
     {
         3, 5
     }, CommonPrimeDivisors.PrimeDivisors(75));
     Assert.AreEqual(new List <int>()
     {
         2, 5
     }, CommonPrimeDivisors.PrimeDivisors(10));
     Assert.AreEqual(new List <int>()
     {
         2, 3, 5
     }, CommonPrimeDivisors.PrimeDivisors(30));
     Assert.AreEqual(new List <int>()
     {
         3
     }, CommonPrimeDivisors.PrimeDivisors(9));
 }