public void TestFloatDontNeedEndianSwitch()
{
float value = -1.223F;
// Convert to int so we can compare to Java version.
MemoryStream ms = new MemoryStream(4);
BinaryWriter bw = new BinaryWriter(ms);
bw.Write(value);
bw.Close();
ms = new MemoryStream(ms.ToArray());
BinaryReader br = new BinaryReader(ms);
// System.out.println(Integer.toString(Float.floatToIntBits(-1.223F), 16));
Assert.AreEqual(-0x406374bc, br.ReadInt32());
}