public void TrainTest() { EigenFaceMethod target = new EigenFaceMethod(); // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.Train(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void RecognizeTest() { EigenFaceMethod target = new EigenFaceMethod(); // TODO: Initialize to an appropriate value object testFace = null; // TODO: Initialize to an appropriate value object expected = null; // TODO: Initialize to an appropriate value object actual; actual = target.Recognize(testFace); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public override void Train() { _faceRecognitionMethod = new EigenFaceMethod(); var t = new Thread(ThreadPoolTrain); t.IsBackground = true; t.Start(); if (_isTrainSuccess == true) { _trainStatus = RecognizeMethodsViewModelBase.TrainResults[Constants.SUCCESS]; } else { _trainStatus = TrainResults[Constants.FAILED]; } OnPropertyChanged("TrainStatus"); }
public void EigenFaceMethodConstructorTest() { EigenFaceMethod target = new EigenFaceMethod(); Assert.Inconclusive("TODO: Implement code to verify target"); }