Sha256: e201a8d3cbb1e455f3ac2c3d28b3909f80a3e632568955aaf68667c2d2b7bd32

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

require 'test/unit'
require 'ae/adapters/testunit'

class TestUnitSupport < Test::Unit::TestCase

  def test_assert_pass
    x = 5
    y = 5
    x.assert == y
  end

  def test_assert_fail
    x = 5
    y = 6
    x.assert == y
  end

  def test_assert_fail_original
    x = 5
    y = 6
    assert_equal(x, y)
  end

  def test_assert_pass_original
    x = 5
    y = 5
    assert_equal(x, y)
  end

  def test_exception
    raise
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ae-1.5.0 demo/testunit/example.rb