Пример #1
0
        public SelectionRecognitionMethodControl()
        {
            _selectionRecMethodViewModel = new SelectionRecognitionMethodViewModel();
            this.DataContext             = _selectionRecMethodViewModel;

            InitializeComponent();
        }
Пример #2
0
        public void SaveRecognitionMethodTest()
        {
            SelectionRecognitionMethodViewModel target = new SelectionRecognitionMethodViewModel(); // TODO: Initialize to an appropriate value
            string selectedMethod = string.Empty;                                                   // TODO: Initialize to an appropriate value

            target.SaveRecognitionMethod(selectedMethod);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Пример #3
0
        public void TrainStatusTest()
        {
            SelectionRecognitionMethodViewModel target = new SelectionRecognitionMethodViewModel(); // TODO: Initialize to an appropriate value
            string expected = string.Empty;                                                         // TODO: Initialize to an appropriate value
            string actual;

            target.TrainStatus = expected;
            actual             = target.TrainStatus;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Пример #4
0
        public void RecognitionMethodsTest()
        {
            SelectionRecognitionMethodViewModel target   = new SelectionRecognitionMethodViewModel(); // TODO: Initialize to an appropriate value
            ObservableCollection <string>       expected = null;                                      // TODO: Initialize to an appropriate value
            ObservableCollection <string>       actual;

            target.RecognitionMethods = expected;
            actual = target.RecognitionMethods;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Пример #5
0
        public void SelectionRecognitionMethodViewModelConstructorTest()
        {
            SelectionRecognitionMethodViewModel target = new SelectionRecognitionMethodViewModel();

            Assert.Inconclusive("TODO: Implement code to verify target");
        }