示例#1
0
        public void GetChangesAfterFrameshift_FirstAminoAcidIsStop()
        {
            var observedResult = HgvsUtilities.GetChangesAfterFrameshift(4, "MABCDEFGHIIIKL", "MABCDEFGHIIIKL*");

            Assert.Equal(15, observedResult.Start);
            Assert.Equal('*', observedResult.RefAminoAcid);
            Assert.Equal('*', observedResult.AltAminoAcid);
        }
示例#2
0
        public void GetChangesAfterFrameshift_AfterFrameshift()
        {
            var observedResult = HgvsUtilities.GetChangesAfterFrameshift(4, "MABCDEFGHIIIKL", "MABCEFGH*");

            Assert.Equal(5, observedResult.Start);
            Assert.Equal('D', observedResult.RefAminoAcid);
            Assert.Equal('E', observedResult.AltAminoAcid);
        }