예제 #1
0
 public dynamic Square(dynamic a)
 {
     result = Squared.Square(a);
     return(result);
 }
예제 #2
0
 public void SquaredTest()
 {
     Assert.AreEqual(64, Squared.Square((double)a));
 }
예제 #3
0
 public void SqauredTest()
 {
     Assert.AreEqual(1.44, Squared.Square(b));
 }
예제 #4
0
 public int Square(int a)
 {
     solution = Squared.Square(a);
     return(solution);
 }