Sha256: c8fdf0b766b270a83e6adac11e1182ec692e3976a15d6c89451084b61a3a693b

Contents?: true

Size: 493 Bytes

Versions: 4

Compression:

Stored size: 493 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

[ :standard_deviation, :stddev ].each do |method|
  describe Aggregate::StandardDeviation::Methods, "##{method}" do
    subject { object.send(method) }

    let(:described_class) { Class.new { include Aggregate::StandardDeviation::Methods } }
    let(:object)          { described_class.new.freeze                                  }

    it { should be_instance_of(Aggregate::StandardDeviation) }

    its(:operand) { should equal(object) }
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/aggregate/standard_deviation/methods/standard_deviation_spec.rb
veritas-0.0.7 spec/unit/veritas/aggregate/standard_deviation/methods/standard_deviation_spec.rb
veritas-0.0.6 spec/unit/veritas/aggregate/standard_deviation/methods/standard_deviation_spec.rb
veritas-0.0.5 spec/unit/veritas/aggregate/standard_deviation/methods/standard_deviation_spec.rb