Sha256: ecbda3529493114fc68a05925cd392fc3bf89c12d34fe56e5a0efac801b254b7
Contents?: true
Size: 307 Bytes
Versions: 2
Compression:
Stored size: 307 Bytes
Contents
require 'test/unit' require 'webget_ruby_ramp' class FixnumTest < Test::Unit::TestCase def test_even_with_true assert(2.even?) end def test_even_with_false assert(!3.even?) end def test_odd_with_true assert(3.odd?) end def test_odd_with_false assert(!2.odd?) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webget_ruby_ramp-1.8.2 | test/webget_ruby_ramp/fixnum_test.rb |
webget_ruby_ramp-1.8.0 | test/webget_ruby_ramp/fixnum_test.rb |