# 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_within(0.1).of(1.0) end it 'cell a5 should equal 2.0' do sheet1.a5.should be_within(0.2).of(2.0) end end