From: martinahansen Date: Wed, 1 Jul 2009 10:17:11 +0000 (+0000) Subject: changed seq_type from string to symbols in ruby X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=53df9018b448cf6ea17786f2af46f34985e6d34d;p=biopieces.git changed seq_type from string to symbols in ruby git-svn-id: http://biopieces.googlecode.com/svn/trunk@551 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/code_ruby/Maasha/test/test_seq.rb b/code_ruby/Maasha/test/test_seq.rb index 7ec47ec..7e8c89d 100755 --- a/code_ruby/Maasha/test/test_seq.rb +++ b/code_ruby/Maasha/test/test_seq.rb @@ -7,14 +7,14 @@ class TestSeq < Test::Unit::TestCase # Testing Seq#initialize - # test marked for deletion - too simple and informative + # test marked for deletion - too simple and not informative def test_Seq_initialize_with_0_args s = Seq.new assert_equal( "", s.seq ) assert_equal( nil, s.seq_type ) end - # test marked for deletion - too simple and informative + # test marked for deletion - too simple and not informative def test_Seq_initialize_with_1_args s = Seq.new( "ATCG" ) assert_equal( "ATCG", s.seq ) @@ -244,14 +244,14 @@ class TestSeq < Test::Unit::TestCase # Testing Seq::AA#initialize - # test marked for deletion - too simple and informative + # test marked for deletion - too simple and not informative def test_Seq_AA_initialize_with_0_args s = Seq::AA.new assert_equal( "", s.seq ) assert_equal( :AA, s.seq_type ) end - # test marked for deletion - too simple and informative + # test marked for deletion - too simple and not informative def test_Seq_AA_initialize_with_1_args s = Seq::AA.new( "SEQ" ) assert_equal( "SEQ", s.seq )