summaryrefslogtreecommitdiff
path: root/spec/ruby/core/numeric/real_spec.rb
blob: 6f6b4922b4c250cbb13fb4055402a2e328f1110d (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