コード例 #1
0
 //[Test]
 public void negativeRecursive()
 {
     for (int i = -20; i < 0; ++i)
     {
         Factorial_BigInteger.recursive((ulong)i);
     }
 }
コード例 #2
0
 public void correctRecursive()
 {
     for (int i = 0; i < data.Length; ++i)
     {
         Assert.AreEqual(data[i].expected, Factorial_BigInteger.recursive(data[i].i));
     }
 }