Sha256: dfcb38c86fb50dc323e0451837c19cecdd7b92bfcdd169b1873e9f01a9f68357
Contents?: true
Size: 483 Bytes
Versions: 2
Compression:
Stored size: 483 Bytes
Contents
# encoding: utf-8 require 'spec_helper' [:square_root, :sqrt].each do |method| describe Function::Numeric::SquareRoot::Methods, "##{method}" do subject { object.send(method) } let(:described_class) { Class.new { include Function::Numeric::SquareRoot::Methods } } let(:object) { described_class.new.freeze } it { should be_instance_of(Function::Numeric::SquareRoot) } 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/square_root/methods/square_root_spec.rb |
axiom-0.1.1 | spec/unit/axiom/function/numeric/square_root/methods/square_root_spec.rb |