Sha256: 18633109329cb8748f08e7aece63164a54074c765a7e106027a0bd79b940c4d5

Contents?: true

Size: 324 Bytes

Versions: 17

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'

describe Dydx::Algebra::Set::Log do
  it{ expect(log(1)).to eq(_(0)) }
  it{ expect(log(e)).to eq(_(1)) }
  it{ expect(log(e ^ :n)).to eq(:n) }

  describe '#to_s' do
  end
  describe '#differentiate' do
    it{ expect(log(:x).d(:x).to_s).to eq('( 1 / x )') }
  end
  describe 'Calculate' do
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dydx-0.1.31 spec/lib/algebra/set/log_spec.rb
dydx-0.1.3 spec/lib/algebra/set/log_spec.rb
dydx-0.1.29 spec/lib/algebra/set/log_spec.rb
dydx-0.1.28 spec/lib/algebra/set/log_spec.rb
dydx-0.1.25 spec/lib/algebra/set/log_spec.rb
dydx-0.1.2 spec/lib/algebra/set/log_spec.rb
dydx-0.1.1 spec/lib/algebra/set/log_spec.rb
dydx-0.1.0 spec/lib/algebra/set/log_spec.rb
dydx-0.0.9 spec/lib/algebra/set/log_spec.rb
dydx-0.0.8 spec/lib/algebra/set/log_spec.rb
dydx-0.0.7 spec/lib/algebra/set/log_spec.rb
dydx-0.0.6 spec/lib/algebra/set/log_spec.rb
dydx-0.0.5 spec/lib/algebra/set/log_spec.rb
dydx-0.0.4 spec/lib/algebra/set/log_spec.rb
dydx-0.0.3 spec/lib/algebra/set/log_spec.rb
dydx-0.0.2 spec/lib/algebra/set/log_spec.rb
dydx-0.0.1 spec/lib/algebra/set/log_spec.rb