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