Lines Matching refs:AreEqual
30 Assert.AreEqual(buffer.Length, uut.Length); in ByteBuffer_Length_MatchesBufferLength()
40 Assert.AreEqual((byte)99, buffer[0]); in ByteBuffer_PutBytePopulatesBufferAtZeroOffset()
60 Assert.AreEqual((byte)1, buffer[0]); in ByteBuffer_PutShortPopulatesBufferCorrectly()
61 Assert.AreEqual((byte)0, buffer[1]); in ByteBuffer_PutShortPopulatesBufferCorrectly()
97 Assert.AreEqual(0x0D, buffer[0]); in ByteBuffer_PutIntPopulatesBufferCorrectly()
98 Assert.AreEqual(0x0C, buffer[1]); in ByteBuffer_PutIntPopulatesBufferCorrectly()
99 Assert.AreEqual(0x0B, buffer[2]); in ByteBuffer_PutIntPopulatesBufferCorrectly()
100 Assert.AreEqual(0x0A, buffer[3]); in ByteBuffer_PutIntPopulatesBufferCorrectly()
134 Assert.AreEqual(0x0D, buffer[0]); in ByteBuffer_PutLongPopulatesBufferCorrectly()
135 Assert.AreEqual(0x0C, buffer[1]); in ByteBuffer_PutLongPopulatesBufferCorrectly()
136 Assert.AreEqual(0x0B, buffer[2]); in ByteBuffer_PutLongPopulatesBufferCorrectly()
137 Assert.AreEqual(0x0A, buffer[3]); in ByteBuffer_PutLongPopulatesBufferCorrectly()
138 Assert.AreEqual(0x04, buffer[4]); in ByteBuffer_PutLongPopulatesBufferCorrectly()
139 Assert.AreEqual(0x03, buffer[5]); in ByteBuffer_PutLongPopulatesBufferCorrectly()
140 Assert.AreEqual(0x02, buffer[6]); in ByteBuffer_PutLongPopulatesBufferCorrectly()
141 Assert.AreEqual(0x01, buffer[7]); in ByteBuffer_PutLongPopulatesBufferCorrectly()
173 Assert.AreEqual((byte)99, uut.Get(0)); in ByteBuffer_GetByteReturnsCorrectData()
192 Assert.AreEqual(1, uut.GetShort(0)); in ByteBuffer_GetShortReturnsCorrectData()
220 Assert.AreEqual(0x0A0B0C0D, uut.GetInt(0)); in ByteBuffer_GetIntReturnsCorrectData()
252 Assert.AreEqual(0x010203040A0B0C0D, uut.GetLong(0)); in ByteBuffer_GetLongReturnsCorrectData()
276 Assert.AreEqual(0x3412U, reverse); in ByteBuffer_ReverseBytesUshort()
279 Assert.AreEqual(original, rereverse); in ByteBuffer_ReverseBytesUshort()
287 Assert.AreEqual(0x78563412U, reverse); in ByteBuffer_ReverseBytesUint()
290 Assert.AreEqual(original, rereverse); in ByteBuffer_ReverseBytesUint()
298 Assert.AreEqual(0xEFCDAB9078563412UL, reverse); in ByteBuffer_ReverseBytesUlong()
301 Assert.AreEqual(original, rereverse); in ByteBuffer_ReverseBytesUlong()
337 Assert.AreEqual(0x0A0B0C0D, uut.GetInt(0)); in ByteBuffer_Duplicate_MatchesBuffer()
341 Assert.AreEqual(0x0A0B, uut.GetShort(2)); in ByteBuffer_Duplicate_MatchesBuffer()
345 Assert.AreEqual(0x0A, uut.Get(3)); in ByteBuffer_Duplicate_MatchesBuffer()
379 Assert.AreEqual(bbArray2.Length, len - 1); in ByteBuffer_To_Array_Float()
382 Assert.AreEqual(fData[i], bbArray2[i - 1]); in ByteBuffer_To_Array_Float()
388 Assert.AreEqual(bbArray3.Length, len - 4); in ByteBuffer_To_Array_Float()
391 Assert.AreEqual(fData[i], bbArray3[i - 2]); in ByteBuffer_To_Array_Float()
404 Assert.AreEqual(1024 - typeSize * data.Length, nOffset);