Пример #1
0
 public static void Compare(ByteArrayMessage a, ByteArrayMessage b)
 {
     if (a.m_byteArr == null)
     {
         A(a.m_byteArr == b.m_byteArr);
     }
     else
     {
         for (int i = 0; i < a.m_byteArr.Length; ++i)
         {
             A(a.m_byteArr[i] == b.m_byteArr[i]);
         }
     }
 }
Пример #2
0
		public static void Compare(ByteArrayMessage a, ByteArrayMessage b)
		{
			if (a.m_byteArr == null)
			{
				A(a.m_byteArr == b.m_byteArr);
			}
			else
			{
				for (int i = 0; i < a.m_byteArr.Length; ++i)
					A(a.m_byteArr[i] == b.m_byteArr[i]);
			}
		}