Пример #1
0
 public void Factorial_minus3_Return_2()
 {
     Assert.AreEqual(0, DifferentTasks.Factorial(-3));
 }
Пример #2
0
 public void Factorial_2_Return_2()
 {
     Assert.AreEqual(2, DifferentTasks.Factorial(2));
 }
Пример #3
0
 public void Factorial_7_Return_5040()
 {
     Assert.AreEqual(5040, DifferentTasks.Factorial(7));
 }
Пример #4
0
 public void Factorial_0_Return_1()
 {
     Assert.AreEqual(1, DifferentTasks.Factorial(0));
 }