Beispiel #1
0
 public void SqrRootTest()
 {
     Assert.AreEqual(2, SquareRoot.SqrRoot(b.Next(1, 50)));
 }
Beispiel #2
0
 public void SqrRootTest()
 {
     Assert.AreEqual(4, SquareRoot.SqrRoot(b));
 }
 public int SqrRoot(int a)
 {
     result = sqrroot.SqrRoot(a);
     return(result);
 }