public void SingleTest() { MsgPackWriter writer = new MsgPackWriter(Allocator.Temp); writer.WriteSingle(float.MinValue); writer.WriteSingle(float.MaxValue); writer.WriteSingle(float.Epsilon); MsgPackReader reader = new MsgPackReader(writer.ToArray(Allocator.Temp)); Assert.That(reader.ReadSingle(), Is.EqualTo(float.MinValue)); Assert.That(reader.ReadSingle(), Is.EqualTo(float.MaxValue)); Assert.That(reader.ReadSingle(), Is.EqualTo(float.Epsilon)); }