public void Vector4GetBytes()
{
Vector4 data = new Vector4(2.0f, 1.0f, 3.0f, 4.0f);
byte[] expected = new byte[]
{
0, 0, 0, 64, 0, 0, 128, 63, 0, 0, 64, 64, 0, 0, 128, 64
};
byte[] actual = BitConverterEx.GetBytes(data);
Assert.AreElementsEqual(expected, actual);
}