Sha256: c9c13e85736506c09464d232ba029b5867328003d68c22014118a4994057b37f

Contents?: true

Size: 450 Bytes

Versions: 12

Compression:

Stored size: 450 Bytes

Contents

# coding: utf-8
require_relative '../spreadsheet'
# Sheet1
describe 'Sheet1' do
  def sheet1; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet1; end

  it 'cell d3 should equal 3.0' do
    sheet1.d3.should be_within(0.30000000000000004).of(3.0)
  end

  it 'cell d4 should equal 7.0' do
    sheet1.d4.should be_within(0.7000000000000001).of(7.0)
  end

  it 'cell d5 should equal 11.0' do
    sheet1.d5.should be_within(1.1).of(11.0)
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

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