Exemplo n.º 1
0
 public void NegateString()
 {
     Assert.Throws <InvalidOperationException>(() => GenericMath.Negate("abc"));
 }
Exemplo n.º 2
0
 public void NegateInt32()
 {
     Assert.AreEqual(-270, GenericMath.Negate(270));
 }