spec/lib/function_spec.rb in dydx-0.1.28 vs spec/lib/function_spec.rb in dydx-0.1.29

- old
+ new

@@ -26,11 +26,11 @@ it{ expect(g(a, b)).to eq($g) } it{ expect(g(2, 3)).to eq(15) } it{ expect(h(a, b, c) <= d/db(g(a, b))).to eq(h(a, b, c)) } it{ expect(h(a, b, c) <= d/db(g(a, b))).to eq($h) } - it{ expect(h(a, b, c)).to eq(( ( 2 * b ) + a )) } - it{ expect(h(a, b, c).algebra).to eq(( ( 2 * b ) + a )) } + it{ expect(h(a, b, c)).to eq(( a + ( 2 * b ) )) } + it{ expect(h(a, b, c).algebra).to eq(( a + ( 2 * b ) )) } it 'ex.4' do $f = nil f(x) <= log(x) expect(f(a)).to eq(log(a))