public void GetSpectrumTypesTest1() { Run run = new IMFRun(FileRefs.RawDataMSFiles.IMFStdFile1); Assert.AreEqual(1, run.GetMSLevel(233)); //this function hasn't yet been implemented for IMF files Assert.AreEqual(1, run.GetMSLevel(234)); Assert.AreEqual(1, run.GetMSLevel(235)); }
public void MSGeneratorOnIMFFileTest2() { Run run = new IMFRun(imfFilepath); run.CurrentScanSet = new ScanSet(233, 229, 237); Task msgen = new GenericMSGenerator(); msgen.Execute(run.ResultCollection); Assert.AreEqual(9917, run.XYData.Xvalues.Length); Assert.AreEqual(1, run.GetMSLevel(run.CurrentScanSet.PrimaryScanNumber)); }