Sha256: 74deb45d31dadec86db52ee9d75ad62f9546777ea73948d6aaacd9f76d418967

Contents?: true

Size: 753 Bytes

Versions: 2

Compression:

Stored size: 753 Bytes

Contents

require './test_helper'

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

2 entries across 2 versions & 1 rubygems

Version Path
gmp-0.5.41 test/tc_mpfr_constants.rb
gmp-0.5.41-x86-mingw32 test/tc_mpfr_constants.rb