Beispiel #1
0
        public void TestParse()
        {
            string          expectName = "ddd.dd.1.2.3.dta";
            SequestFilename sf         = SequestFilename.Parse(expectName);

            Assert.AreEqual("ddd.dd", sf.Experimental);
            Assert.AreEqual(1, sf.FirstScan);
            Assert.AreEqual(2, sf.LastScan);
            Assert.AreEqual(3, sf.Charge);
            Assert.AreEqual("dta", sf.Extension);
            Assert.AreEqual(expectName, sf.ToString());
        }
Beispiel #2
0
 public void TestParseThrowException()
 {
     SequestFilename.Parse("ddd.dd.d1.d.dta");
 }