Beispiel #1
0
        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);
     });
 }
Beispiel #3
0
 public void TestMultidimArray()
 {
     try {
         MultiDim md = new MultiDim {
             Values = new int[1, 2] {
                 { 3, 4 }
             }
         };
         Serializer.DeepClone(md);
         Assert.Fail();
     }
     catch (NotSupportedException) { }
 }
Beispiel #4
0
 public void TestMultidimArray()
 {
     MultiDim md = new MultiDim { Values = new int[1, 2] { { 3, 4 } } };
     Serializer.DeepClone(md);
 }
Beispiel #5
0
 public void TestMultidimArray()
 {
     try {
         MultiDim md = new MultiDim { Values = new int[1, 2] { { 3, 4 } } };
         Serializer.DeepClone(md);
         Assert.Fail();
     }
     catch (NotSupportedException) { }
 }