Sha256: e93aa995e7ecbcade44e74965fce9dfc60f46ebfe967c7029c66f6dc7f2a9fa0

Contents?: true

Size: 322 Bytes

Versions: 8

Compression:

Stored size: 322 Bytes

Contents

require 'spec_helper'

describe Dydx:Delta do
  it{ expect(d.class).to eq(Delta) }
  it{ expect(dx.class).to eq(Delta) }
  it{ expect(dx.var).to eq(:x) }
  it{ expect(dx(y).class).to eq(Delta) }
  it{ expect(dx(y).var).to eq(:x) }
  it{ expect(dx(y).function).to eq(:y) }
  it{ expect{dxy}.to raise_error(NameError) }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dydx-0.1.31 spec/lib/delta_spec.rb
dydx-0.1.3 spec/lib/delta_spec.rb
dydx-0.1.29 spec/lib/delta_spec.rb
dydx-0.1.28 spec/lib/delta_spec.rb
dydx-0.1.25 spec/lib/delta_spec.rb
dydx-0.1.2 spec/lib/delta_spec.rb
dydx-0.1.1 spec/lib/delta_spec.rb
dydx-0.1.0 spec/lib/delta_spec.rb