lean2/tests/lua/mpz2.lua

7 lines
154 B
Lua
Raw Normal View History

assert(is_mpz(mpz(1000)))
assert(not is_mpz(10))
assert(not is_mpz(mpq(10)))
assert(is_mpq(mpq(1000)))
assert(not is_mpq(10))
assert(not is_mpq(mpz(10)))