Sha256: 33354d851fc47fa96a56c6da49b6d324ecd4319165d538e99a724b80c6df7bc6

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

require File.expand_path('../shared/modulo', __FILE__)

describe "BigDecimal#%" do
  it_behaves_like(:bigdecimal_modulo, :%)
  it_behaves_like(:bigdecimal_modulo_zerodivisionerror, :%)
end

describe "BigDecimal#modulo" do
  it_behaves_like(:bigdecimal_modulo, :modulo)
  it_behaves_like(:bigdecimal_modulo_zerodivisionerror, :modulo)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysl-bigdecimal-1.0.0 spec/modulo_spec.rb
rubysl-bigdecimal-2.0.2 spec/modulo_spec.rb