Sha256: 0d5edd5a22905d4651a0f65ca35aef003d89c30a536f1e0e3e2382ab0aff45d6

Contents?: true

Size: 722 Bytes

Versions: 4

Compression:

Stored size: 722 Bytes

Contents

require 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_PATCHES.should be_true
    MPFR::MPFR_VERSION2.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

4 entries across 4 versions & 1 rubygems

Version Path
ruby-mpfr-0.0.7 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.6 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.5 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.4 spec/mpfr/constant_spec.rb