예제 #1
0
 public void CanDetermineIfRealNumber()
 {
     var complex = new Complex(-1, 0);
     Assert.IsTrue(complex.IsReal(), "Is a real number.");
 }
예제 #2
0
 public void CanDetermineIfRealNonNegativeNumber()
 {
     var complex = new Complex(1, 0);
     Assert.IsTrue(complex.IsReal(), "Is a real non-negative number.");
 }