public static FaceRecognitionProgressThread CreateFaceRecogProgressThread() { face_recog_progress = new FaceRecognitionProgressThread(); face_recog_progress_2 = new FaceRecognitionProgressThread(); face_recog_progress.StartWorking(); face_recog_progress_2.StartWorking(); return(face_recog_progress); }
public void FaceRecognitionProgressThreadDoWorkTest() { MainWindow window = new MainWindow(); Nkujukira.Demo.Singletons.Singleton.InitializeStuff(); FaceRecognitionProgressThread thread = new FaceRecognitionProgressThread(); thread.StartWorking(); Assert.IsTrue(thread.IsRunning()); thread.RequestStop(); }