# coding: utf-8 require_relative '../spreadsheet' # 中间结果 describe 'Sheet2' do def sheet2; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet2; end it 'cell c6 should equal 142.85714285714286' do sheet2.c6.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell d6 should equal 142.85714285714286' do sheet2.d6.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell e6 should equal 142.85714285714286' do sheet2.e6.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell f6 should equal 142.85714285714286' do sheet2.f6.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell g6 should equal 142.85714285714286' do sheet2.g6.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell h6 should equal 142.85714285714286' do sheet2.h6.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell i6 should equal 142.85714285714286' do sheet2.i6.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell j6 should equal 142.85714285714286' do sheet2.j6.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell k6 should equal 142.85714285714286' do sheet2.k6.should be_within(14.285714285714286).of(142.85714285714286) end end