Lines Matching refs:ArrayEqual
37 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
39 Assert.ArrayEqual(new byte[] { 1 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
41 Assert.ArrayEqual(new byte[] { 129, 1 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
43 … Assert.ArrayEqual(new byte[] { 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // First pad in TestNumbers()
45 …Assert.ArrayEqual(new byte[] { 0, 0, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray(… in TestNumbers()
47 …Assert.ArrayEqual(new byte[] { 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFull… in TestNumbers()
49 …Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 204, 204, 204, 252, 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129… in TestNumbers()
51 …Assert.ArrayEqual(new byte[] { 0x32, 0x54, 0x76, 0x98, 204, 204, 204, 252, 0xEE, 0xFE, 0x22, 0x82,… in TestNumbers()
59 …Assert.ArrayEqual(new byte[] { 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11 }, builder.DataBuffe… in TestNumbers64()
63 …Assert.ArrayEqual(new byte[] { 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11 }, builder.DataBuffe… in TestNumbers64()
71 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt8()
73 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 1, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt8()
75 … Assert.ArrayEqual(new byte[] { 1, 0, 0, 0, 1, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt8()
83 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUint8()
85 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 1, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUint8()
87 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 2, 1, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUint8()
89 … Assert.ArrayEqual(new byte[] { 2, 0, 0, 0, 2, 1, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUint8()
97 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt16()
99 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 1, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt16()
101 … Assert.ArrayEqual(new byte[] { 1, 0, 0, 0, 1, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt16()
109 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUInt16()
111 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0xCD, 0xAB }, builder.DataBuffer.ToFullArray()); in TestVector_2xUInt16()
113 …Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0xBA, 0xDC, 0xCD, 0xAB }, builder.DataBuffer.ToFullArra… in TestVector_2xUInt16()
115 …Assert.ArrayEqual(new byte[] { 2, 0, 0, 0, 0xBA, 0xDC, 0xCD, 0xAB }, builder.DataBuffer.ToFullArra… in TestVector_2xUInt16()
123 …Assert.ArrayEqual(new byte[] { 3, 0, 0, 0, (byte)'f', (byte)'o', (byte)'o', 0 }, builder.DataBuffe… in TestCreateAsciiString()
126 Assert.ArrayEqual(new byte[] in TestCreateAsciiString()
144 …Assert.ArrayEqual(new byte[] { 3, 0, 0, 0, (byte)'f', (byte)'o', (byte)'o', 0 }, builder.DataBuffe… in TestCreateSharedAsciiString()
147 …Assert.ArrayEqual(new byte[] { 3, 0, 0, 0, (byte)'f', (byte)'o', (byte)'o', 0 }, builder.DataBuffe… in TestCreateSharedAsciiString()
155 Assert.ArrayEqual(new byte[] in TestCreateArbitarytring()
161 Assert.ArrayEqual(new byte[] in TestCreateArbitarytring()
179 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestEmptyVTable()
181 Assert.ArrayEqual(new byte[] in TestEmptyVTable()
194 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithOneBool()
197 Assert.ArrayEqual(new byte[] in TestVTableWithOneBool()
227 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithOneBool_DefaultValue()
230 Assert.ArrayEqual(new byte[] in TestVTableWithOneBool_DefaultValue()
254 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithOneInt16()
257 Assert.ArrayEqual(new byte[] in TestVTableWithOneInt16()
287 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithTwoInt16()
291 Assert.ArrayEqual(new byte[] in TestVTableWithTwoInt16()
321 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithInt16AndBool()
325 Assert.ArrayEqual(new byte[] in TestVTableWithInt16AndBool()
361 Assert.ArrayEqual(new byte[] in TestVTableWithEmptyVector()
394 Assert.ArrayEqual(new byte[] in TestVTableWithEmptyVectorAndScalars()
432 Assert.ArrayEqual(new byte[] in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
473 Assert.ArrayEqual(new byte[] in TestVTableWithAStruct_of_int8_int16_int32()
513 Assert.ArrayEqual(new byte[] in TestVTableWithAVectorOf_2xStructOf_2xInt8()
563 Assert.ArrayEqual(padded, builder.DataBuffer.ToFullArray()); in TestVTableWithSomeElements()
568 Assert.ArrayEqual(unpadded, builder.DataBuffer.ToSizedArray()); in TestVTableWithSomeElements()
612 Assert.ArrayEqual(padded, builder.DataBuffer.ToFullArray()); in TestVTableWithStrings()
659 Assert.ArrayEqual(padded, builder.DataBuffer.ToFullArray()); in TestVTableWithVectorOfStrings()
686 Assert.ArrayEqual(new byte[] in TestTwoFinishTable()
787 Assert.ArrayEqual(padded, builder.DataBuffer.ToFullArray()); in TestBunchOfBools()
792 Assert.ArrayEqual(unpadded, builder.DataBuffer.ToSizedArray()); in TestBunchOfBools()
845 Assert.ArrayEqual(padded, builder.DataBuffer.ToFullArray()); in TestBunchOfBoolsSizePrefixed()
850 Assert.ArrayEqual(unpadded, builder.DataBuffer.ToSizedArray()); in TestBunchOfBoolsSizePrefixed()
862 Assert.ArrayEqual(new byte[] in TestWithFloat()