Sha256: aa298a9b8d36f955ae596bb51958a680401164cca8d6c3f42579a584b7b70f7b

Contents?: true

Size: 663 Bytes

Versions: 7

Compression:

Stored size: 663 Bytes

Contents

require File.expand_path(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

7 entries across 7 versions & 1 rubygems

Version Path
ruby-mpfr-0.0.14 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.13 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.12 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.11 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.10 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.9 spec/mpfr/constant_spec.rb
ruby-mpfr-0.0.8 spec/mpfr/constant_spec.rb