예제 #1
0
 public void From_Float_To_Exponential_Mantissa_Cut_Test(string input, string expected)
 {
     Assert.That(BigFloat.ToExponentialFormat(input), Is.EqualTo(expected));
 }
예제 #2
0
 public void From_Exponential_To_Float_Test(string input, string expected)
 {
     firstTestFloat = new BigFloat(input);
     result         = new BigFloat(BigFloat.ToExponentialFormat(expected));
     Assert.That(firstTestFloat, Is.EqualTo(result));
 }