Beispiel #1
0
        public void TestReadBlobProto()
        {
            PersistCaffeTest test = new PersistCaffeTest();

            try
            {
                foreach (IPersistCaffeTest t in test.Tests)
                {
                    t.TestReadBlobProto();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Beispiel #2
0
        public void TestSolverState()
        {
            PersistCaffeTest test = new PersistCaffeTest();

            try
            {
                foreach (IPersistCaffeTest t in test.Tests)
                {
                    t.TestSolverState();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Beispiel #3
0
        public void TestImportExportV1()
        {
            PersistCaffeTest test = new PersistCaffeTest();

            try
            {
                foreach (IPersistCaffeTest t in test.Tests)
                {
                    if (t.DataType == DataType.FLOAT)
                    {
                        t.TestImportExportV1();
                    }
                }
            }
            finally
            {
                test.Dispose();
            }
        }