Sha256: 74b0c27e59bdd47f04b89ed2598911c137e57226e92660dcca47afc268a67959

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

class ToolsModuleTest < Minitest::Test

  def self.test_order
    :sorted
  end

  def test_object_A_boolean?
   test = true
   assert_equal test.boolean?, true
  end

  def test_object_B_true?
   test = true
   assert_equal test.true?, true
  end

    def test_object_C_false?
   test = false
   assert_equal test.false?, true
  end

    def test_object_D_symbol?
   test = :true
   assert_equal test.symbol?, true
  end

    def test_object_E_string?
   test = 'string'
   assert_equal test.string?, true
  end

end



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tools-0.4.5 test/mini_object.rb