Lines Matching refs:ToFullArray
36 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
38 Assert.ArrayEqual(new byte[] { 1 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
40 Assert.ArrayEqual(new byte[] { 129, 1 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
42 … Assert.ArrayEqual(new byte[] { 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // First pad in TestNumbers()
44 …al(new byte[] { 0, 0, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // Second p… in TestNumbers()
46 …new byte[] { 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // no pad in TestNumbers()
48 …204, 252, 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // third pad in TestNumbers()
50 …4, 204, 252, 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // no pad in TestNumbers()
58 …l(new byte[] { 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11 }, builder.DataBuffer.ToFullArray()); in TestNumbers64()
62 …l(new byte[] { 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11 }, builder.DataBuffer.ToFullArray()); in TestNumbers64()
70 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt8()
72 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 1, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt8()
74 … Assert.ArrayEqual(new byte[] { 1, 0, 0, 0, 1, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt8()
82 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUint8()
84 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 1, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUint8()
86 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 2, 1, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUint8()
88 … Assert.ArrayEqual(new byte[] { 2, 0, 0, 0, 2, 1, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUint8()
96 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt16()
98 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 1, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt16()
100 … Assert.ArrayEqual(new byte[] { 1, 0, 0, 0, 1, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_1xUInt16()
108 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }, builder.DataBuffer.ToFullArray()); in TestVector_2xUInt16()
110 … Assert.ArrayEqual(new byte[] { 0, 0, 0, 0, 0, 0, 0xCD, 0xAB }, builder.DataBuffer.ToFullArray()); in TestVector_2xUInt16()
112 …rt.ArrayEqual(new byte[] { 0, 0, 0, 0, 0xBA, 0xDC, 0xCD, 0xAB }, builder.DataBuffer.ToFullArray()); in TestVector_2xUInt16()
114 …rt.ArrayEqual(new byte[] { 2, 0, 0, 0, 0xBA, 0xDC, 0xCD, 0xAB }, builder.DataBuffer.ToFullArray()); in TestVector_2xUInt16()
122 …l(new byte[] { 3, 0, 0, 0, (byte)'f', (byte)'o', (byte)'o', 0 }, builder.DataBuffer.ToFullArray()); in TestCreateAsciiString()
135 }, builder.DataBuffer.ToFullArray()); in TestCreateAsciiString()
147 }, builder.DataBuffer.ToFullArray()); // No padding in TestCreateArbitarytring()
159 }, builder.DataBuffer.ToFullArray()); // No padding in TestCreateArbitarytring()
167 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestEmptyVTable()
174 builder.DataBuffer.ToFullArray()); in TestEmptyVTable()
182 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithOneBool()
195 builder.DataBuffer.ToFullArray()); in TestVTableWithOneBool()
203 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithOneBool_DefaultValue()
214 builder.DataBuffer.ToFullArray()); in TestVTableWithOneBool_DefaultValue()
222 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithOneInt16()
235 builder.DataBuffer.ToFullArray()); in TestVTableWithOneInt16()
243 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithTwoInt16()
257 builder.DataBuffer.ToFullArray()); in TestVTableWithTwoInt16()
265 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestVTableWithInt16AndBool()
279 builder.DataBuffer.ToFullArray()); in TestVTableWithInt16AndBool()
306 builder.DataBuffer.ToFullArray()); in TestVTableWithEmptyVector()
333 builder.DataBuffer.ToFullArray()); in TestVTableWithEmptyVectorAndScalars()
364 builder.DataBuffer.ToFullArray()); in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
394 builder.DataBuffer.ToFullArray()); in TestVTableWithAStruct_of_int8_int16_int32()
428 builder.DataBuffer.ToFullArray()); in TestVTableWithAVectorOf_2xStructOf_2xInt8()
456 Assert.ArrayEqual(padded, builder.DataBuffer.ToFullArray()); in TestVTableWithSomeElements()
512 builder.DataBuffer.ToFullArray()); in TestTwoFinishTable()
555 Assert.ArrayEqual(padded, builder.DataBuffer.ToFullArray()); in TestBunchOfBools()
603 Assert.ArrayEqual(padded, builder.DataBuffer.ToFullArray()); in TestBunchOfBoolsSizePrefixed()
630 builder.DataBuffer.ToFullArray()); in TestWithFloat()