Sha256: 8e02360a199bd63bbe0d22db23e5ddff57e6981833fe4a084d85b814f9a811bc
Contents?: true
Size: 615 Bytes
Versions: 4
Compression:
Stored size: 615 Bytes
Contents
# coding: utf-8 require_relative '../spreadsheet' # Outputs describe 'Sheet1' do def sheet1; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet1; end it 'cell b1 should equal 121.0' do sheet1.b1.should be_within(12.100000000000001).of(121.0) end it 'cell b2 should equal 99.0' do sheet1.b2.should be_within(9.9).of(99.0) end it 'cell b3 should equal "In result"' do sheet1.b3.should == "In result" end it 'cell b6 should equal 99.0' do sheet1.b6.should be_within(9.9).of(99.0) end it 'cell b8 should equal 99.0' do sheet1.b8.should be_within(9.9).of(99.0) end end
Version data entries
4 entries across 4 versions & 1 rubygems