Sha256: b7c18e968aa4c9a50c508ef92c474ecfb7e87805cd8e8093c10072edc2563cf8

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

require 'spec_helper'

describe Danica::Function::Sum do
  it_behaves_like 'a function that joins many variables with same operation', {
    calculated: 10,
    tex_expected: 'X1 + X2 + X3 + X4',
    tex_integer_expected: '4 + X3 + X4',
    tex_float_expected: '7.5 + X4',
    numeric_variables: [ 1.5, 2.5, 3.5 ]
  }
end

Version data entries

3 entries across 3 versions & 1 rubygems

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