Beispiel #1
0
        public void GetDataPointTest()
        {
            var result   = _dataset.GetDataPoint(spectrumIdx: 1, valueIdx: 1);
            var expected = new DataPoint(mz: 2, intensity: 5.1);

            Assert.AreEqual(result.Mz,
                            expected.Mz,
                            message: "Dataset returned wrong m/z values.");
            Assert.AreEqual(result.Intensity, expected.Intensity, message: "Dataset returned wrong intensity values.");
        }