test/unit/bio/db/test_gff.rb in bio-1.4.3.0001 vs test/unit/bio/db/test_gff.rb in bio-1.5.0

- old
+ new

@@ -266,11 +266,11 @@ def test_attribute val_Target = Bio::GFF::GFF2::Record::Value.new(['HBA_HUMAN', '11', '55']) assert_equal(val_Target, @obj.attribute('Target')) assert_equal('0.0003', @obj.attribute('E_value')) val_Align0 = Bio::GFF::GFF2::Record::Value.new(['101', '11']) - val_Align1 = Bio::GFF::GFF2::Record::Value.new(['179', '36']) + #val_Align1 = Bio::GFF::GFF2::Record::Value.new(['179', '36']) assert_equal(val_Align0, @obj.attribute('Align')) val_Comment = Bio::GFF::GFF2::Record::Value.new(["Please ignore this \"Comment\" attribute; Escape \x1a\037 and \\\t\r\n\f\b\a\e\v; This is test.", "123", "4.56e-34", "Test for freetext"]) assert_equal(val_Comment, @obj.attribute('Comment')) assert_equal('', @obj.attribute('Note')) assert_equal('IdString', @obj.attribute('Misc')) @@ -283,10 +283,10 @@ def test_get_attribute val_Target = Bio::GFF::GFF2::Record::Value.new(['HBA_HUMAN', '11', '55']) assert_equal(val_Target, @obj.get_attribute('Target')) assert_equal('0.0003', @obj.get_attribute('E_value')) val_Align0 = Bio::GFF::GFF2::Record::Value.new(['101', '11']) - val_Align1 = Bio::GFF::GFF2::Record::Value.new(['179', '36']) + #val_Align1 = Bio::GFF::GFF2::Record::Value.new(['179', '36']) assert_equal(val_Align0, @obj.get_attribute('Align')) val_Comment = Bio::GFF::GFF2::Record::Value.new(["Please ignore this \"Comment\" attribute; Escape \x1a\037 and \\\t\r\n\f\b\a\e\v; This is test.", "123", "4.56e-34", "Test for freetext"]) assert_equal(val_Comment, @obj.get_attribute('Comment')) assert_equal('', @obj.get_attribute('Note')) assert_equal('IdString', @obj.get_attribute('Misc'))