Пример #1
0
        public void TestTrivialSlice()
        {
            SliceLayerTest test = new SliceLayerTest();

            try
            {
                foreach (ISliceLayerTest t in test.Tests)
                {
                    t.TestTrivialSlice();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #2
0
        public void TestSliceAcrossChannels()
        {
            SliceLayerTest test = new SliceLayerTest();

            try
            {
                foreach (ISliceLayerTest t in test.Tests)
                {
                    t.TestSliceAcrossChannels();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #3
0
        public void TestGradientAcrossNum()
        {
            SliceLayerTest test = new SliceLayerTest();

            try
            {
                foreach (ISliceLayerTest t in test.Tests)
                {
                    t.TestGradientAcrossNum();
                }
            }
            finally
            {
                test.Dispose();
            }
        }