public void NumberTrainTestFacesEventArgsConstructorTest() { int numberTrainFaces = 0; // TODO: Initialize to an appropriate value int numberTestFaces = 0; // TODO: Initialize to an appropriate value NumberTrainTestFacesEventArgs target = new NumberTrainTestFacesEventArgs(numberTrainFaces, numberTestFaces); Assert.Inconclusive("TODO: Implement code to verify target"); }
public void PreprocessingPanelViewModel_SetNumberTrainTestFacesEventTest() { ResultsFaceRecognitionViewModel_Accessor target = new ResultsFaceRecognitionViewModel_Accessor(); // TODO: Initialize to an appropriate value object sender = null; // TODO: Initialize to an appropriate value NumberTrainTestFacesEventArgs e = null; // TODO: Initialize to an appropriate value target.PreprocessingPanelViewModel_SetNumberTrainTestFacesEvent(sender, e); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
private void OnSetNumberTrainTestFaces() { var handler = SetNumberTrainTestFacesEvent; if (handler != null) { var args = new NumberTrainTestFacesEventArgs(_trainFaces.Count, _testFaces.Count); handler(this, args); } }
private void PreprocessingPanelViewModel_SetNumberTrainTestFacesEvent(object sender, NumberTrainTestFacesEventArgs e) { _numTrainFaces = e.NumberTrainFaces; OnPropertyChanged("NumberTrainFaces"); _numTestFaces = e.NumberTestFaces; OnPropertyChanged("NumberTestFaces"); }