Sha256: 119211f065ba42d7b7d7459dee928a44e44d4b1ccc79e30b11ca01e0473009ca

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

require 'spec_helper'

describe Danica::Function::Product do
  it_behaves_like 'a function that joins many variables with same operation', {
    calculated: 24,
    tex_expected: %w(X1 X2 X3 X4).join(' \cdot '),
    tex_integer_expected: %w(3 X3 X4).join(' \cdot '),
    tex_float_expected: '10.5 \cdot X4',
    numeric_variables: [ 1.5, 2, 3.5 ]
  }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
danica-0.3.0 spec/lib/danica/function/product_spec.rb
danica-0.2.0 spec/lib/danica/function/product_spec.rb
danica-0.1.0 spec/lib/danica/function/product_spec.rb