Sha256: 2574b1be65105efccdb8ec428e755b5752189c41b0351027fc3770a45e314b87
Contents?: true
Size: 347 Bytes
Versions: 5
Compression:
Stored size: 347 Bytes
Contents
require File.expand_path(File.dirname(__FILE__)) + '/spec_helper.rb' MPFR.set_default_prec(90) describe MPFR, 'when converting instance of other class' do it "should be transformed to float" do num = GenerateNumber.float(1000, 100) + [0.0] num.each do |a| b = MPFR.new(a).get_d(MPFR::RNDZ) a.should == b end end end
Version data entries
5 entries across 5 versions & 1 rubygems