public void CheckIsTerminationUnsupportedTest() { IAlphabet alphabet = Alphabets.DNA; bool actual = alphabet.CheckIsTermination('A'); Assert.AreEqual(false, actual); }
public void CheckIsTerminationTrueTest() { IAlphabet alphabet = Alphabets.Protein; bool actual = alphabet.CheckIsTermination('*'); Assert.AreEqual(true, actual); }
public void CheckIsTerminationFalseTest() { IAlphabet alphabet = Alphabets.Protein; bool actual = alphabet.CheckIsTermination('A'); Assert.AreEqual(false, actual); }
public void CheckIsTerminationMissingAlphabetTest() { IAlphabet alphabet = null; alphabet.CheckIsTermination('A'); }
public void CheckIsTerminationMissingAlphabetTest() { IAlphabet alphabet = null; Assert.Throws <ArgumentNullException>(() => alphabet.CheckIsTermination('A')); }