Sha256: 3cd48b0d31b6379db19f5d8ed8da93267d053fa65d74a6ebc858127c7a8da5fd

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:object) { described_class }

  it_should_behave_like 'an invertible method'

  it { should equal(Function::Numeric::UnaryMinus) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

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