Sha256: 5f07dfdc6b0b3e7daa818f814f85d15d374caab494da0762970fe759036f7093

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

# -*- coding: utf-8 -*-
require "sixarm_ruby_ramp_test"

if RUBY_VERSION < "2.4.0"

class FixnumTest < Minitest::Test

  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

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sixarm_ruby_ramp-5.0.2 test/sixarm_ruby_ramp_test/fixnum_test.rb
sixarm_ruby_ramp-5.0.1 test/sixarm_ruby_ramp_test/fixnum_test.rb
sixarm_ruby_ramp-5.0.0 test/sixarm_ruby_ramp_test/fixnum_test.rb
sixarm_ruby_ramp-4.2.7 test/sixarm_ruby_ramp_test/fixnum_test.rb
sixarm_ruby_ramp-4.2.5 test/sixarm_ruby_ramp_test/fixnum_test.rb