Пример #1
0
 public void test1()
 {
     Assert.Equal(0, Collatz.Passi(1));
 }
Пример #2
0
 public void testNegativo()
 {
     Assert.Throws <ArgumentException>(() => Collatz.Passi(-15));
 }
Пример #3
0
 public void testZero()
 {
     Assert.Throws <ArgumentException>(() => Collatz.Passi(0));
 }
Пример #4
0
 public void testGrande()
 {
     Assert.Equal(152, Collatz.Passi(1000000));
 }
Пример #5
0
 public void test12()
 {
     Assert.Equal(9, Collatz.Passi(12));
 }
Пример #6
0
 public void test16()
 {
     Assert.Equal(4, Collatz.Passi(16));
 }