public void TestGetFeatureSequence()
 {
     Sequence seq = new Sequence(AlphabetType.DNA, "acgta");
     FeatureList featureList = new FeatureList("test");
     Feature feature = new Feature("feature1", 2, 4, +1);
     featureList.Add(feature);
     seq.AddFeatures(featureList);
     Assert.AreEqual("cgt", feature.Letters());
 }
        public void TestConstructor()
        {
            Feature feature = new Feature("test", 1, 2, +1);
			Assert.AreEqual("test", feature.Name);

            Sequence seq = new Sequence(AlphabetType.DNA, "acgta");
			seq.Annotations.Add( new Annotation("Name", "test"));
            feature = new Feature(seq, 2, 4, +1);

            Assert.AreEqual("test", feature.Name);
            Assert.AreEqual("cgt", feature.Letters());
        }