Sha256: 3c192411118ced6c8a05be9c6a8ed3b7c08762c051558a05aa130adc1659ff15

Contents?: true

Size: 514 Bytes

Versions: 12

Compression:

Stored size: 514 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

12 entries across 12 versions & 1 rubygems

Version Path
tools-1.2.0 test/mini_object.rb
tools-1.1.0 test/mini_object.rb
tools-1.0.1 test/mini_object.rb
tools-1.0.0 test/mini_object.rb
tools-0.5.4 test/mini_object.rb
tools-0.5.3 test/mini_object.rb
tools-0.5.1 test/mini_object.rb
tools-0.5.0 test/mini_object.rb
tools-0.4.9 test/mini_object.rb
tools-0.4.8 test/mini_object.rb
tools-0.4.7 test/mini_object.rb
tools-0.4.6 test/mini_object.rb