Sha256: d1b23caf21c55f6309f7d37876d6398eb576d7fb4757787be05f628ef718e77c
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
# encoding: utf-8 require 'spec_helper' [:absolute, :abs].each do |method| describe Function::Numeric::Absolute::Methods, "##{method}" do subject { object.send(method) } let(:described_class) { Class.new { include Function::Numeric::Absolute::Methods } } let(:object) { described_class.new.freeze } it { should be_instance_of(Function::Numeric::Absolute) } its(:operand) { should be(object) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/function/numeric/absolute/methods/absolute_spec.rb |
axiom-0.1.1 | spec/unit/axiom/function/numeric/absolute/methods/absolute_spec.rb |