Sha256: 34d455b71d577795c57a5b0354ffaf3ff6f474b5f2d17937de63107a1fd21af8

Contents?: true

Size: 351 Bytes

Versions: 12

Compression:

Stored size: 351 Bytes

Contents

# coding: utf-8
require_relative '../spreadsheet'
# Sheet1 (2)
describe 'Sheet2' do
  def sheet2; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet2; end

  it 'cell a2 should equal 5.0' do
    sheet2.a2.should be_within(0.5).of(5.0)
  end

  it 'cell a3 should equal 3.0' do
    sheet2.a3.should be_within(0.30000000000000004).of(3.0)
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.23 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.22 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.21 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.20 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.19 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.18 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.17 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.16 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.13 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.10 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.9 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb
rubyfromexcel-0.0.5 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet2_rspec.rb