public void DoubleTest() { MsgPackWriter writer = new MsgPackWriter(Allocator.Temp); writer.WriteDouble(double.MinValue); writer.WriteDouble(double.MaxValue); writer.WriteDouble(double.Epsilon); MsgPackReader reader = new MsgPackReader(writer.ToArray(Allocator.Temp)); Assert.That(reader.ReadDouble(), Is.EqualTo(double.MinValue)); Assert.That(reader.ReadDouble(), Is.EqualTo(double.MaxValue)); Assert.That(reader.ReadDouble(), Is.EqualTo(double.Epsilon)); }