Sha256: 4dd1942b41127414fd7fbfed44ccd3b242bb4fe4c1ad41e4a4a301226643f6b4
Contents?: true
Size: 572 Bytes
Versions: 3
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Danica::Operator::Exponential do subject { described_class.new(2) } it_behaves_like 'an object that respond to basic_methods' it_behaves_like 'an object with basic operation' it_behaves_like 'a operator with a single input value', variable_value: 2, expected_number: Math.exp(2), expected_number_tex: 'e^{2}', expected_number_gnu: 'exp(2)', expected_tex: 'e^{X}', expected_gnu: 'exp(X)' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danica-2.7.7 | spec/lib/danica/operator/exponential_spec.rb |
danica-2.7.6 | spec/lib/danica/operator/exponential_spec.rb |
danica-2.7.5 | spec/lib/danica/operator/exponential_spec.rb |