示例#1
0
文件: Arrays.cs 项目: cash2one/HBNews
        public void TestMultidimArray()
        {
            MultiDim md = new MultiDim {
                Values = new int[1, 2] {
                    { 3, 4 }
                }
            };

            Serializer.DeepClone(md);
        }
 public void TestMultidimArray()
 {
     Assert.Throws <NotSupportedException>(() =>
     {
         MultiDim md = new MultiDim {
             Values = new int[1, 2] {
                 { 3, 4 }
             }
         };
         Serializer.DeepClone(md);
     });
 }
示例#3
0
 public void TestMultidimArray()
 {
     try {
         MultiDim md = new MultiDim {
             Values = new int[1, 2] {
                 { 3, 4 }
             }
         };
         Serializer.DeepClone(md);
         Assert.Fail();
     }
     catch (NotSupportedException) { }
 }
示例#4
0
 public void TestMultidimArray()
 {
     MultiDim md = new MultiDim { Values = new int[1, 2] { { 3, 4 } } };
     Serializer.DeepClone(md);
 }
示例#5
0
 public void TestMultidimArray()
 {
     try {
         MultiDim md = new MultiDim { Values = new int[1, 2] { { 3, 4 } } };
         Serializer.DeepClone(md);
         Assert.Fail();
     }
     catch (NotSupportedException) { }
 }