public override object[] CreateData() { var arr = new STArrStringONTestCase[5]; arr[0] = new STArrStringONTestCase (); string[][][] content = {new[] {new string[2]}}; arr[1] = new STArrStringONTestCase (content); content = new[] {new[] {new string[3], new string[3]}}; arr[2] = new STArrStringONTestCase (content); content = new[] {new[] {new string[3], new string[3]}}; content[0][0][1] = "foo"; content[0][1][0] = "bar"; content[0][1][2] = "fly"; arr[3] = new STArrStringONTestCase (content); content = new[] {new[] {new string[3], new string[3]}}; content[0][0][0] = "bar"; content[0][1][0] = "wohay"; content[0][1][1] = "johy"; arr[4] = new STArrStringONTestCase (content); var ret = new object[arr.Length]; Array.Copy(arr, 0, ret, 0, arr.Length); return ret; }
public override object[] CreateData() { var arr = new STArrStringONTestCase[5]; arr[0] = new STArrStringONTestCase (); string[][][] content = { new[] { new string[2] } }; arr[1] = new STArrStringONTestCase (content); content = new[] { new[] { new string[3], new string[3] } }; arr[2] = new STArrStringONTestCase (content); content = new[] { new[] { new string[3], new string[3] } }; content[0][0][1] = "foo"; content[0][1][0] = "bar"; content[0][1][2] = "fly"; arr[3] = new STArrStringONTestCase (content); content = new[] { new[] { new string[3], new string[3] } }; content[0][0][0] = "bar"; content[0][1][0] = "wohay"; content[0][1][1] = "johy"; arr[4] = new STArrStringONTestCase (content); var ret = new object[arr.Length]; Array.Copy(arr, 0, ret, 0, arr.Length); return(ret); }