fedora-migrator /vendor/gems/facets-2.4.5/test/core/integer/test_multiple.rb

Language Ruby Lines 15
MD5 Hash 38d5466a2ce6542d89e153afc473c878 Estimated Cost $215 (why?)
Repository https://bitbucket.org/mediashelf/fedora-migrator View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
require 'facets/integer/multiple'
require 'test/unit'

class TC_Integer_Multiple < Test::Unit::TestCase

  def test_multiple?
    assert( ! 1.multiple?(2) )
    assert(   2.multiple?(2) )
    assert( ! 5.multiple?(3) )
    assert(   6.multiple?(3) )
  end

end
Back to Top