Beispiel #1
0
 public static void AssertBigIntegersEqual(string a, BigInteger b)
 {
     Assert.AreEqual(a,b.ToString());
       BigInteger a2=BigInteger.fromString(a);
       Assert.AreEqual(a2,b);
       AssertEqualsHashCode(a2,b);
 }
Beispiel #2
0
 public void AssertBigIntString(string s, BigInteger bi)
 {
     Assert.AreEqual(s, bi.ToString());
 }
Beispiel #3
0
 public static string BigIntToString(BigInteger bigint)
 {
     return bigint.ToString();
 }