Avro.Test.BinaryEncodingTests.TestDouble C# (CSharp) Method

TestDouble() private method

private TestDouble ( ) : void
return void
        public void TestDouble()
        {
            

            for (int i = 0; i < ITERATIONS; i++)
            {
                double expectedValue = random.NextDouble();
                MemoryStream iostr = new MemoryStream();
                
                BinaryEncoder.Instance.WriteDouble(iostr, expectedValue);
                iostr.Position = 0;
                
                double actual = BinaryDecoder.Instance.ReadDouble(iostr);
                Assert.AreEqual(expectedValue, actual, "Iteration {0:###,###,###,##0}", i);

               
            }
        }
        [Test]