Sha256: 35788cbdbd21f549c4d54057d05fec702cdd5e4b49708d1e05fdeb08a5d2a92d

Contents?: true

Size: 728 Bytes

Versions: 4

Compression:

Stored size: 728 Bytes

Contents

class TC_MPFR_Constants < Test::Unit::TestCase
  def test_mpfr_constants
    assert_instance_of(String,   GMP::MPFR_VERSION,  "GMP::MPFR_VERSION should be a String")
    assert_instance_of(Fixnum,   GMP::MPFR_PREC_MIN, "GMP::MPFR_PREC_MIN should be a Fixnum")
    assert_instance_of(Fixnum,   GMP::MPFR_PREC_MAX, "GMP::MPFR_PREC_MAX should be a Fixnum")
    assert_instance_of(GMP::Rnd, GMP::GMP_RNDN,      "GMP::GMP_RNDN should be a GMP::Rnd")
    assert_instance_of(GMP::Rnd, GMP::GMP_RNDZ,      "GMP::GMP_RNDZ should be a GMP::Rnd")
    assert_instance_of(GMP::Rnd, GMP::GMP_RNDU,      "GMP::GMP_RNDU should be a GMP::Rnd")
    assert_instance_of(GMP::Rnd, GMP::GMP_RNDD,      "GMP::GMP_RNDD should be a GMP::Rnd")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gmp-0.5.23 test/tc_mpfr_constants.rb
gmp-0.5.23-x86-mingw32 test/tc_mpfr_constants.rb
gmp-0.5.3 test/tc_mpfr_constants.rb
gmp-0.5.3-x86-mingw32 test/tc_mpfr_constants.rb