예제 #1
0
        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());
 }