Example #1
0
        public List <SrmTransition> ReadFromFile(string fileName)
        {
            var format = new SrmTransitionAgilentFormat();
            var result = format.ReadFromFile(fileName);

            return(result.ConvertAll(m => m as SrmTransition).ToList());
        }
Example #2
0
        public void Test()
        {
            var data = @TestContext.CurrentContext.TestDirectory + "/../../../data//MRMDefinition.txt";

            var mrms = new SrmTransitionAgilentFormat().ReadFromFile(data);

            Assert.AreEqual(437, mrms.Count);
        }