public static Test.SuperMess GetEtalonMess() { Test.SuperMess mess = new Test.SuperMess() { Int32Val = 1, MessVal = CreateTestMess(), StringVal = "123qwe" }; mess.DoubleArr.Add(1.234e-56); mess.DoubleArr.Add(-1.2); mess.DoubleArr.Add(0); mess.Int64Packed.Add(long.MaxValue); mess.Int64Packed.Add(2); mess.Int64Packed.Add(long.MinValue); var t1 = CreateTestMess(); t1.DoubleVal = 1; mess.MessArr.Add(t1); var t2 = CreateTestMess(); t2.FloatVal = 1.1F; mess.MessArr.Add(t2); var t3 = CreateTestMess(); t3.Int32Arr.Add(int.MinValue); mess.MessArr.Add(t3); return(mess); }
public static Test.SuperMess GetEtalonMess() { Test.SuperMess mess = new Test.SuperMess() { Int32Val = 1, MessVal = CreateTestMess(), StringVal = "123qwe" }; mess.DoubleArr.Add(1.234e-56); mess.DoubleArr.Add(-1.2); mess.DoubleArr.Add(0); mess.Int64Packed.Add(long.MaxValue); mess.Int64Packed.Add(2); mess.Int64Packed.Add(long.MinValue); var t1 = CreateTestMess(); t1.DoubleVal = 1; mess.MessArr.Add(t1); var t2 = CreateTestMess(); t2.FloatVal = 1.1F; mess.MessArr.Add(t2); var t3 = CreateTestMess(); t3.Int32Arr.Add(int.MinValue); mess.MessArr.Add(t3); return mess; }