Sha256: bd76a20eb300eee8c0e5be252e53e031723fd78056a9569eccba935afed6ebe7

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 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_kind_of(Aggregate::StandardDeviation) }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/aggregate/standard_deviation/methods/standard_deviation_spec.rb