Skip to content
Snippets Groups Projects
Commit 82491fa2 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/modules/Gmp/testsuite.in:1.8
parent 2618eea4
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,7 @@ cond( [[ master()->resolv("Gmp")->mpz ]], ...@@ -67,6 +67,7 @@ cond( [[ master()->resolv("Gmp")->mpz ]],
test_true(catch(Gmp.mpz("abcd", 47))) test_true(catch(Gmp.mpz("abcd", 47)))
test_true(catch(Gmp.mpz(-17)->digits(256))) test_true(catch(Gmp.mpz(-17)->digits(256)))
test_eq(Gmp.mpz(17)->digits(256), "\021");
test_eq(Gmp.mpz(4711)->size(2), 13) test_eq(Gmp.mpz(4711)->size(2), 13)
test_true(catch(Gmp.mpz(17) + 18 + "19")) test_true(catch(Gmp.mpz(17) + 18 + "19"))
test_true(catch(Gmp.mpz(17) - 18 - "19")) test_true(catch(Gmp.mpz(17) - 18 - "19"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment