public void set_extended_tile_metric_set(base_extended_tile_metrics metrics) { c_csharp_run_metricsPINVOKE.run_metrics_set_extended_tile_metric_set(swigCPtr, base_extended_tile_metrics.getCPtr(metrics)); if (c_csharp_run_metricsPINVOKE.SWIGPendingException.Pending) { throw c_csharp_run_metricsPINVOKE.SWIGPendingException.Retrieve(); } }
protected void SetUp() { expected_metrics.Add(new extended_tile_metric(7, 111014, 6309736)); expected_metrics.Add(new extended_tile_metric(7, 121014, 6260919)); expected_metrics.Add(new extended_tile_metric(7, 211014, 6232864)); int[] tmp = new int[] { 2, 10, 7, 0, -90, -79, 1, 0, -48, -114, -64, 74, 7, 0, -74, -40, 1, 0, 110, 17, -65, 74, 7, 0, 70, 56, 3, 0, 64, 54, -66, 74 }; expected_binary_data = new byte[tmp.Length]; for (int i = 0; i < expected_binary_data.Length; i++) { expected_binary_data[i] = (byte)tmp[i]; } expected_metric_set = new base_extended_tile_metrics(expected_metrics, Version, new base_metric_header()); c_csharp_comm.read_interop_from_buffer(expected_binary_data, (uint)expected_binary_data.Length, actual_metric_set); }
public base_extended_tile_metrics extended_tile_metric_set() { base_extended_tile_metrics ret = new base_extended_tile_metrics(c_csharp_run_metricsPINVOKE.run_metrics_extended_tile_metric_set(swigCPtr), false); return(ret); }