aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/numeric/real_spec.rb
blob: 3e34410155c8dbcf3996e522310289832b38b9c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../../../shared/complex/numeric/real', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)

describe "Numeric#real" do
  it_behaves_like(:numeric_real, :real)
end

describe "Numeric#real?" do
  it "returns true" do
    NumericSpecs::Subclass.new.real?.should == true
  end
end