Sha256: 66f2fcc79901bd0547c4e60c28749d243ea4561f7e21fd8dba471fecffdd7f60

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "../spec_helper.rb"))

describe MPFR, "when calling constant of MPFR" do
  it "should be defined" do
    MPFR::MPFR_VERSION.should be_true
    MPFR::MPFR_VERSION_MAJOR.should be_true
    MPFR::MPFR_VERSION_MINOR.should be_true
    MPFR::MPFR_VERSION_PATCHLEVEL.should be_true
    MPFR::MPFR_VERSION_STRING.should be_true
    MPFR::PREC_MAX.should be_true
    MPFR::PREC_MIN.should be_true
    MPFR::EMAX_DEFAULT.should be_true
    MPFR::EMIN_DEFAULT.should be_true
    MPFR::RNDN.should be_true
    MPFR::RNDZ.should be_true
    MPFR::RNDU.should be_true
    MPFR::RNDD.should be_true
    # MPFR::VERSION
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-mpfr-0.0.17 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.16 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.15 spec/mpfr/constant_spec.rb