aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/integer/modulo_spec.rb
blob: 34649f0d019e8e9c9f8f6cf51bb4fdf2abb2ef70 (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 "Integer#%" do
  it_behaves_like :integer_modulo, :%
end

describe "Integer#modulo" do
  it_behaves_like :integer_modulo, :modulo
end