示例#1
0
 public override object[] CreateData()
 {
     Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase[] arr = new
                                                                                    Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase[5];
     arr[0] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
                  ();
     int[][][] content = new int[][][] {  };
     arr[1] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
                  (content);
     content          = new int[][][] { new int[][] { new int[3], new int[3] } };
     content[0][0][1] = 0;
     content[0][1][0] = 0;
     arr[2]           = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
                            (content);
     content          = new int[][][] { new int[][] { new int[3], new int[3] } };
     content[0][0][0] = 1;
     content[0][1][0] = 17;
     content[0][1][1] = int.MaxValue - 1;
     arr[3]           = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
                            (content);
     content          = new int[][][] { new int[][] { new int[2], new int[2] } };
     content[0][0][0] = 3;
     content[0][0][1] = 17;
     content[0][1][0] = 25;
     content[0][1][1] = int.MaxValue - 2;
     arr[4]           = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
                            (content);
     object[] ret = new object[arr.Length];
     System.Array.Copy(arr, 0, ret, 0, arr.Length);
     return(ret);
 }
示例#2
0
		public override object[] CreateData()
		{
			Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase[] arr = new 
				Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase[5];
			arr[0] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
				();
			int[][][] content = new int[][][] {  };
			arr[1] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
				(content);
			content = new int[][][] { new int[][] { new int[3], new int[3] } };
			content[0][0][1] = 0;
			content[0][1][0] = 0;
			arr[2] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
				(content);
			content = new int[][][] { new int[][] { new int[3], new int[3] } };
			content[0][0][0] = 1;
			content[0][1][0] = 17;
			content[0][1][1] = int.MaxValue - 1;
			arr[3] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
				(content);
			content = new int[][][] { new int[][] { new int[2], new int[2] } };
			content[0][0][0] = 3;
			content[0][0][1] = 17;
			content[0][1][0] = 25;
			content[0][1][1] = int.MaxValue - 2;
			arr[4] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrIntegerONTestCase
				(content);
			object[] ret = new object[arr.Length];
			System.Array.Copy(arr, 0, ret, 0, arr.Length);
			return ret;
		}