Sha256: 174fd2a77da7f754489ee2041bc4a6ec9e11ca6a3503f7ad4734dd0498c976ca

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 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 equal(Function::Numeric::Addition) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

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