@@ -0,0 +1,1006 @@
+package net.openhft.chronicle.wire;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.core.StringContains.containsString;%0A%0A// see https://github.com/OpenHFT/Chronicle-Wire/issues/240%0Apublic class SmallDoublesMarshallingTest %7B%0A    public static class Example extends SelfDescribingMarshallable %7B%0A        private double doubleVal;%0A%0A        public double doubleVal() %7B%0A            return doubleVal;%0A        %7D%0A%0A        public Example doubleVal(double doubleVal) %7B%0A            this.doubleVal = doubleVal;%0A            return this;%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void marshallingTest() %7B%0A        final Example example = new Example().doubleVal(1.104326320059551E-14);%0A        final String textRepr = example.toString();%0A%0A        final Example demarshalled = WireType.TEXT.fromString(Example.class, textRepr);%0A%0A        Assert.assertThat(textRepr, containsString(%221.104326320059551E-14%22));%0A        Assert.assertEquals(example.doubleVal(), demarshalled.doubleVal(), 1e-14);%0A    %7D%0A%7D%0A

test for #240