Sha256: bd2a4b41158cae2e44dd8b97c17628b174874943385b8b693dcdc08fd45eaca4
Contents?: true
Size: 525 Bytes
Versions: 3
Compression:
Stored size: 525 Bytes
Contents
require 'spec_helper' describe Danica::Function::Power do let(:subject) do described_class.new(base: variables[0], exponent: variables[1]) end it_behaves_like 'a function that has two terms', :power, { values: [ 3, 2 ], calculated: 9.0, to_tex: { string_expected: 'X1^{X2}', numeric_string_expected: '9', partial_string_expected: '3^{X2}' }, to_gnu: { string_expected: 'X1**X2', numeric_string_expected: '9', partial_string_expected: '3**X2' } } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danica-1.2.0 | spec/lib/danica/function/power_spec.rb |
danica-1.1.0 | spec/lib/danica/function/power_spec.rb |
danica-1.0.0 | spec/lib/danica/function/power_spec.rb |