Skip to content

Commit

Permalink
unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Leah committed Jun 29, 2020
1 parent 288b516 commit 874792d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test/TestFLASHDeconv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void testFLASHDeconv()

List<Component> deconv_components = new List<Component>();
Sweet.lollipop.process_raw_components(Sweet.lollipop.input_files.Where(f => f.purpose == Purpose.Identification).ToList(), deconv_components, Purpose.Identification, false);
Assert.AreEqual(54, deconv_components.Count);
Assert.AreEqual(52, deconv_components.Count);
Assert.AreEqual(6999.01, Math.Round(deconv_components.OrderBy(c => c.id).First().reported_monoisotopic_mass, 2));
Assert.AreEqual(6999.01, Math.Round(deconv_components.OrderBy(c => c.id).First().weighted_monoisotopic_mass, 2));
Assert.AreEqual(15184400000, Math.Round(deconv_components.OrderBy(c => c.id).First().intensity_reported, 2));
Expand Down

0 comments on commit 874792d

Please sign in to comment.