Sha256: a6df64991604c5742ecf8bae9f28d7dccc1f2fffcd471d1d433410c2fa2a5204
Contents?: true
Size: 613 Bytes
Versions: 26
Compression:
Stored size: 613 Bytes
Contents
class SampleCase1 < Test::Unit::TestCase def test_sample_pass1 assert_equal(1,1) end def test_sample_pass2 assert_equal(2,2) end def test_sample_fail1 assert_equal(1,2) end def test_sample_fail2 assert_include(1,[]) end def test_sample_error1 raise StandardError, "Raised exception!" end def test_sample_error2 raise StandardError, "Raised another exception!" end end class SampleCase2 < Test::Unit::TestCase def test_sample_pass1 assert_equal(1,1) end def test_sample_pass2 assert_equal(1,1) end end class EmptyCase < Test::Unit::TestCase end
Version data entries
26 entries across 26 versions & 6 rubygems