# coding: utf-8 require_relative '../spreadsheet' # I describe 'Sheet5' do def sheet5; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet5; end it 'cell b1 should equal "工业"' do sheet5.b1.should == "工业" end it 'cell c4 should equal 3.0' do sheet5.c4.should be_within(0.30000000000000004).of(3.0) end it 'cell b20 should equal 3.0' do sheet5.b20.should be_within(0.30000000000000004).of(3.0) end it 'cell c20 should equal 100.0' do sheet5.c20.should be_within(10.0).of(100.0) end it 'cell d20 should equal 100.0' do sheet5.d20.should be_within(10.0).of(100.0) end it 'cell e20 should equal 100.0' do sheet5.e20.should be_within(10.0).of(100.0) end it 'cell f20 should equal 100.0' do sheet5.f20.should be_within(10.0).of(100.0) end it 'cell g20 should equal 100.0' do sheet5.g20.should be_within(10.0).of(100.0) end it 'cell h20 should equal 100.0' do sheet5.h20.should be_within(10.0).of(100.0) end it 'cell i20 should equal 100.0' do sheet5.i20.should be_within(10.0).of(100.0) end it 'cell j20 should equal 100.0' do sheet5.j20.should be_within(10.0).of(100.0) end it 'cell k20 should equal 100.0' do sheet5.k20.should be_within(10.0).of(100.0) end it 'cell c26 should equal 142.85714285714286' do sheet5.c26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell d26 should equal 142.85714285714286' do sheet5.d26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell e26 should equal 142.85714285714286' do sheet5.e26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell f26 should equal 142.85714285714286' do sheet5.f26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell g26 should equal 142.85714285714286' do sheet5.g26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell h26 should equal 142.85714285714286' do sheet5.h26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell i26 should equal 142.85714285714286' do sheet5.i26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell j26 should equal 142.85714285714286' do sheet5.j26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell k26 should equal 142.85714285714286' do sheet5.k26.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell c32 should equal 142.85714285714286' do sheet5.c32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell d32 should equal 142.85714285714286' do sheet5.d32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell e32 should equal 142.85714285714286' do sheet5.e32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell f32 should equal 142.85714285714286' do sheet5.f32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell g32 should equal 142.85714285714286' do sheet5.g32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell h32 should equal 142.85714285714286' do sheet5.h32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell i32 should equal 142.85714285714286' do sheet5.i32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell j32 should equal 142.85714285714286' do sheet5.j32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell k32 should equal 142.85714285714286' do sheet5.k32.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell c33 should equal 142.85714285714286' do sheet5.c33.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell d33 should equal 142.85714285714286' do sheet5.d33.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell e33 should equal 142.85714285714286' do sheet5.e33.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell f33 should equal 142.85714285714286' do sheet5.f33.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell g33 should equal 142.85714285714286' do sheet5.g33.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell h33 should equal 142.85714285714286' do sheet5.h33.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell i33 should equal 142.85714285714286' do sheet5.i33.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell j33 should equal 142.85714285714286' do sheet5.j33.should be_within(14.285714285714286).of(142.85714285714286) end it 'cell k33 should equal 142.85714285714286' do sheet5.k33.should be_within(14.285714285714286).of(142.85714285714286) end end