public void TestHasAnnotations () { Sequence seq = new Sequence( AlphabetType.DNA, "ACTG" ); Assert.AreEqual( false, seq.HasAnnotations() ); seq.Annotations.Add( new Annotation( "name", "value" ) ); Assert.AreEqual( true, seq.HasAnnotations() ); }
public void TestHasAnnotations () { Sequence seq = new Sequence( AlphabetType.DNA, "ACTG" ); Assert.AreEqual( false, seq.HasAnnotations() ); seq.Annotations.Add( new Annotation( "name", "value" ) ); Assert.AreEqual( true, seq.HasAnnotations() ); }