public void TestGetLabelData() { int scan = 4677; double ppmTolerance = 20; PeakList <Peak> pkl1 = this.fullRawFile.GetLabelData(scan); pkl1.FilterByTolerance(ppmTolerance); var cd = new ChargeDeconvolution(ppmTolerance, 10); PeakList <Peak> pkl2 = this.fullRawFile.GetMassListFromScanNum(scan, true); pkl2.FilterByTolerance(ppmTolerance); cd.Deconvolute(pkl2); Assert.AreEqual(pkl1.Count, pkl2.Count); }