public void SelectedFragmentIon()
        {
            FragmentIon fragmentIon = new FragmentIon();
            eventAggregator.GetEvent<ObjectSelectionEvent>().Subscribe(OnFragmentIon);
            viewModel.SelectedFragmentIon = fragmentIon;

            Assert.AreEqual(fragmentIon, viewModel.SelectedFragmentIon);
            Assert.AreEqual(true, selectionFired);
        }
示例#2
0
        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;
        }
示例#3
0
 public void TestInitialize()
 {
     fragmentIon = new FragmentIon("SAMPLE", new Peptide());
 }