public void GetChangesAfterFrameshift_FirstAminoAcidIsStop() { var observedResult = HgvsUtilities.GetChangesAfterFrameshift(4, "MABCDEFGHIIIKL", "MABCDEFGHIIIKL*"); Assert.Equal(15, observedResult.Start); Assert.Equal('*', observedResult.RefAminoAcid); Assert.Equal('*', observedResult.AltAminoAcid); }
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); }