summaryrefslogtreecommitdiff
path: root/spec/ruby/core/float/modulo_spec.rb
blob: fffa6cab67016f74d60f173509cf3e0db3f53128 (plain)
1
2
3
4
5
6
7
8
9
10
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/modulo', __FILE__)

describe "Float#%" do
  it_behaves_like :float_modulo, :%
end

describe "Float#modulo" do
  it_behaves_like :float_modulo, :modulo
end