Ejemplo n.º 1
0
 public void testToDouble()
 {
     StringTheory theory = new StringTheory("966700004");
     double num = theory.ToDouble();
     Assert.True(966700004.0 == num, "strings don't match");
     theory.Renew("");
     Assert.True(0.0 == theory.ToDouble(), "value should be zero");
 }