Sha256: 956b40673628e1c397c5e77ea59d5e45d51bef9517da541fc5f91e8d33e70e62
Contents?: true
Size: 444 Bytes
Versions: 18
Compression:
Stored size: 444 Bytes
Contents
require 'turn/testunit' 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
Version data entries
18 entries across 18 versions & 5 rubygems