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