Sha256: 96bcfe467bdfafb18cab5f7a7910065eb4d926c4016d1379ba8044849125ba9f
Contents?: true
Size: 361 Bytes
Versions: 7
Compression:
Stored size: 361 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::Numeric::UnaryPlus, '.call' do subject { object.call(value) } let(:object) { described_class } context 'when the value is positive' do let(:value) { 1 } it { should eql(1) } end context 'when the value is negative' do let(:value) { -1 } it { should eql(-1) } end end
Version data entries
7 entries across 7 versions & 2 rubygems