public void SelectedFragmentIon() { FragmentIon fragmentIon = new FragmentIon(); eventAggregator.GetEvent<ObjectSelectionEvent>().Subscribe(OnFragmentIon); viewModel.SelectedFragmentIon = fragmentIon; Assert.AreEqual(fragmentIon, viewModel.SelectedFragmentIon); Assert.AreEqual(true, selectionFired); }
public RunResult(FragmentIon fragmentIon, Run run) : this() { this.fragmentIon = fragmentIon; this.peptide = fragmentIon.Peptide; this.run = run; this.ActualPeaksInCalculation = fragmentIon.PeaksInCalculation; this.ActualDeutDistThreshold = fragmentIon.DeutDistThreshold; this.ActualDeutDistRightPadding = fragmentIon.DeutDistRightPadding; this.IsResultBasedOnFragment = true; }
public void TestInitialize() { fragmentIon = new FragmentIon("SAMPLE", new Peptide()); }