Sha256: b2b24fe4c4c32ca4338fdc90e0c60572ad968a1b3b4caf38a8a62a10f44fbea3

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

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

  it 'cell a4 should equal 1.0' do
    sheet1.a4.should be_close(1.0,0.1)
  end

  it 'cell a5 should equal 2.0' do
    sheet1.a5.should be_close(2.0,0.2)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.4 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb