Sha256: 8e9240e83dcfa00b7d5d58a6ea03b3058bf0cb4fb9fa7fe1db9daded6803eab9
Contents?: true
Size: 617 Bytes
Versions: 12
Compression:
Stored size: 617 Bytes
Contents
# coding: utf-8 require_relative '../spreadsheet' # Calcs describe 'Sheet2' do def sheet2; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet2; end it 'cell a1 should equal 121.0' do sheet2.a1.should be_within(12.100000000000001).of(121.0) end it 'cell a4 should equal 99.0' do sheet2.a4.should be_within(9.9).of(99.0) end it 'cell c9 should equal "In result"' do sheet2.c9.should == "In result" end it 'cell a17 should equal 99.0' do sheet2.a17.should be_within(9.9).of(99.0) end it 'cell c22 should equal 99.0' do sheet2.c22.should be_within(9.9).of(99.0) end end
Version data entries
12 entries across 12 versions & 1 rubygems