public void test_m1() { testpod2[] o1 = new testpod2[32]; for (uint i = 0; i < o1.Length; i++) { ServiceTest2_pod.fill_testpod2(ref o1[i], 59174 + i); } if (r.pod_m1.Length != 1024) { throw new Exception(""); } r.pod_m1.Write(52, o1, 3, 17); testpod2[] o2 = new testpod2[32]; r.pod_m1.Read(53, o2, 2, 16); for (uint i = 2; i < 16; i++) { ServiceTest2_pod.verify_testpod2(ref o2[i], 59174 + i + 2); } }
public void test_m1() { testpod2[] o1 = new testpod2[32]; for (uint i = 0; i < o1.Length; i++) { ServiceTest2_pod.fill_testpod2(ref o1[i], 59174 + i); } RRAssert.AreEqual <ulong>(r.pod_m1.Length, 1024); r.pod_m1.Write(52, o1, 3, 17); testpod2[] o2 = new testpod2[32]; r.pod_m1.Read(53, o2, 2, 16); for (uint i = 2; i < 16; i++) { ServiceTest2_pod.verify_testpod2(ref o2[i], 59174 + i + 2); } }