Updated RubySpec source to b897f30c.
[rbx.git] / spec / frozen / 1.8 / library / complex / math / asin_spec.rb
blobfdbf64c88e680bc18a40ebdbd680757bdd8845ea
1 require File.dirname(__FILE__) + '/../../../spec_helper'
2 require File.dirname(__FILE__) + '/shared/asin'
4 describe "Math#asin" do
5   it_behaves_like :complex_math_asin, :_, IncludesMath.new
7   it "should be private" do
8     IncludesMath.private_instance_methods.should include("asin")
9   end
10 end
12 describe "Math#asin!" do
13   it_behaves_like :complex_math_asin_bang, :_, IncludesMath.new
15   it "should be private" do
16     IncludesMath.private_instance_methods.should include("asin!")
17   end
18 end
20 describe "Math.asin" do
21   it_behaves_like :complex_math_asin, :_, Math
22 end
24 describe "Math.asin!" do
25   it_behaves_like :complex_math_asin_bang, :_, Math
26 end