예제 #1
0
 public void testToLong()
 {
     StringTheory theory = new StringTheory("966700004");
     long num = theory.ToLong();
     Assert.True(0x399eabe4L == num, "strings don't match");
     theory.Renew("");
     Assert.True(0L == theory.ToLong(), "value should be zero");
 }