示例#1
0
 public void SquaredReturns4forArgumentMinus2()
 {
     Assert.AreEqual(4, MyMath.Squared(-2));
 }
示例#2
0
 public void SquaredReturns4forArgument2()
 {
     Assert.AreEqual(4, MyMath.Squared(2.0));
 }
示例#3
0
 public void SquaredReturns0forArgument0()
 {
     Assert.AreEqual(0, MyMath.Squared(0));
 }