public override object[] CreateData() { var arr = new STArrStringUNTestCase[5]; arr[0] = new STArrStringUNTestCase (); string[][][] content = { new[] { new string[2] } }; arr[1] = new STArrStringUNTestCase (content); content = new[] { new[] { new string[3], new string[3] } }; arr[2] = new STArrStringUNTestCase (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 STArrStringUNTestCase (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 STArrStringUNTestCase (content); var ret = new object[arr.Length]; Array.Copy(arr, 0, ret, 0, arr.Length); return(ret); }
public override object[] CreateData() { var arr = new STArrStringUNTestCase[5]; arr[0] = new STArrStringUNTestCase (); string[][][] content = {new[] {new string[2]}}; arr[1] = new STArrStringUNTestCase (content); content = new[] {new[] {new string[3], new string[3]}}; arr[2] = new STArrStringUNTestCase (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 STArrStringUNTestCase (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 STArrStringUNTestCase (content); var ret = new object[arr.Length]; Array.Copy(arr, 0, ret, 0, arr.Length); return ret; }