public void TestIsCleavageSite() { Protease trypsin = new Protease("Trypsin", true, "KR", "P"); Assert.AreEqual(true, trypsin.IsCleavageSite('K', 'A', '-')); Assert.AreEqual(true, trypsin.IsCleavageSite('R', 'A', '-')); Assert.AreEqual(true, trypsin.IsCleavageSite('K', '-', '-')); Assert.AreEqual(true, trypsin.IsCleavageSite('R', '-', '-')); Assert.AreEqual(false, trypsin.IsCleavageSite('K', 'P', '-')); Assert.AreEqual(false, trypsin.IsCleavageSite('R', 'P', '-')); Assert.AreEqual(false, trypsin.IsCleavageSite('N', 'A', '-')); }