Sha256: 04daf45be90530be8dbb99a30babc1df022e60ba7ddb14aa4fc69c5512a31ca3

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 Bytes

Contents

require File.expand_path('../../../shared/rational/multiply', __FILE__)

ruby_version_is ""..."1.9" do
  describe "Rational#*" do
    it_behaves_like(:rational_multiply, :*)
  end

  describe "Rational#* passed a Rational" do
    it_behaves_like(:rational_multiply_rat, :*)
  end

  describe "Rational#* passed a Float" do
    it_behaves_like(:rational_multiply_float, :*)
  end

  describe "Rational#* passed an Integer" do
    it_behaves_like(:rational_multiply_int, :*)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysl-rational-2.0.1 spec/multiply_spec.rb
rubysl-rational-1.0.0 spec/multiply_spec.rb