Sha256: a9678dc0063df56cc3b2d8f82701c939f125b60a7efb0dd7e706315b8dac133a

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Function::Numeric::Subtraction, '.inverse' do
  subject { object.inverse }

  let(:object) { described_class }

  it_should_behave_like 'an invertible method'

  it { should be(Function::Numeric::Addition) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/function/numeric/subtraction/class_methods/inverse_spec.rb
axiom-0.1.1 spec/unit/axiom/function/numeric/subtraction/class_methods/inverse_spec.rb