Sha256: 91f265265a5cb5dc9ccd0cf92bc16c74a3b2d2f352e7922cebea7d36ca0ec148
Contents?: true
Size: 1.31 KB
Versions: 2
Compression:
Stored size: 1.31 KB
Contents
# 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubyfromexcel-0.0.23 | examples/ruby-versions/2050example-ruby/specs/sheet2_rspec.rb |
rubyfromexcel-0.0.22 | examples/ruby-versions/2050example-ruby/specs/sheet2_rspec.rb |