예제 #1
0
 public void subtract_float()
 {
     Assert.AreEqual(4f, OpTester <float> .Subtract(7f, 3f));
 }
예제 #2
0
 public void subtract_int32()
 {
     Assert.AreEqual(4, OpTester <System.Int32> .Subtract(7, 3));
 }
예제 #3
0
 public void subtract_int64()
 {
     Assert.AreEqual(4L, OpTester <System.Int64> .Subtract(7L, 3L));
 }
예제 #4
0
 public void subtract_int16()
 {
     Assert.AreEqual((System.Int16) 4, OpTester <System.Int16> .Subtract((System.Int16) 7, (System.Int16) 3));
 }
예제 #5
0
 public void subtract_complex()
 {
     Assert.AreEqual(new Complex(2, 11), OpTester <Complex> .Subtract(new Complex(4, 7), new Complex(2, -4)));
 }
예제 #6
0
 public void subtract_biginteger()
 {
     Assert.AreEqual(new BigInteger(4), OpTester <BigInteger> .Subtract(new BigInteger(7), new BigInteger(3)));
 }
예제 #7
0
 public void subtract_decimal()
 {
     Assert.AreEqual(4m, OpTester <decimal> .Subtract(7m, 3m));
 }
예제 #8
0
 public void subtract_double()
 {
     Assert.AreEqual(4d, OpTester <double> .Subtract(7d, 3d));
 }