spec/lib/danica/exponential_spec.rb in danica-2.0.4 vs spec/lib/danica/exponential_spec.rb in danica-2.0.5
- old
+ new
@@ -7,10 +7,11 @@
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_text: Math.exp(2).to_s,
+ expected_number_tex: 'e^{2}',
+ expected_number_gnu: 'exp(2)',
expected_tex: 'e^{X}',
expected_gnu: 'exp(X)'
}
end