Exemplo n.º 1
0
        static void Main(string[] args)
        {
            log.Debug("Unit Test App starting");

            YamlTest yt = new YamlTest();
            //yt.testBasicYamlOperation();
            //yt.testYamlReadingFromFile();
            //yt.testYamlInterpretationForDataSetPointList();

            JsonTest jt = new JsonTest();
            //jt.testJsonSerialisation();

            // EyeDetectorTest et = new EyeDetectorTest();
            // VisualDisplay vd = new VisualDisplay();
            FileSystemVisualStore vd = new FileSystemVisualStore(UnitTestSettings.MEDIA_DIRECTORY_TEST_OUTPUT, "jpg", 200, 200);
            EyeDetectorTest       et = new EyeDetectorTest(vd);

            et.setUp();
            //et.PutEyesDetectionTest();
            //et.PolyuEyesDetectionTest();
            et.testStdDev();
            et.BinocularDetectionTest();
            et.tearDown();
            // vd.Close();

            XmlStructureTest xt = new XmlStructureTest();
            //xt.testBasicStructure();

            FileStreamCameraTest t1 = new FileStreamCameraTest();
            //t1.SimpleFrameLoadingTest();

            OpenCvExperimentTest t2 = new OpenCvExperimentTest();

            //t2.BasicGrayUsageTest();

            et = null;
            xt = null;
            t1 = null;
            t2 = null;
        }
Exemplo n.º 2
0
        static void Main( string[] args )
        {
            log.Debug( "Unit Test App starting" );

            YamlTest yt = new YamlTest();
            //yt.testBasicYamlOperation();
            //yt.testYamlReadingFromFile();
            //yt.testYamlInterpretationForDataSetPointList();

            JsonTest jt = new JsonTest();
            //jt.testJsonSerialisation();

            // EyeDetectorTest et = new EyeDetectorTest();
            // VisualDisplay vd = new VisualDisplay();
            FileSystemVisualStore vd = new FileSystemVisualStore( UnitTestSettings.MEDIA_DIRECTORY_TEST_OUTPUT, "jpg", 200, 200 );
            EyeDetectorTest et = new EyeDetectorTest( vd );
            et.setUp();
            //et.PutEyesDetectionTest();
            //et.PolyuEyesDetectionTest();
            et.testStdDev();
            et.BinocularDetectionTest();
            et.tearDown();
            // vd.Close();

            XmlStructureTest xt = new XmlStructureTest();
            //xt.testBasicStructure();

            FileStreamCameraTest t1 = new FileStreamCameraTest();
            //t1.SimpleFrameLoadingTest();

            OpenCvExperimentTest t2 = new OpenCvExperimentTest();
            //t2.BasicGrayUsageTest();

            et = null;
            xt = null;
            t1 = null;
            t2 = null;
        }