Exemplo n.º 1
0
        public void TestReadBlobProto()
        {
            PersistCaffeTest test = new PersistCaffeTest();

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

            try
            {
                foreach (IPersistCaffeTest t in test.Tests)
                {
                    t.TestSolverState();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 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();
            }
        }