Esempio n. 1
0
        public void TestDoubleLength()
        {
            var value = new DoubleColumnValue();

            foreach (double i in
                     new[] { double.MinValue, double.MaxValue, -1, 0, 1, Any.Double, double.Epsilon, double.NegativeInfinity, double.PositiveInfinity, double.NaN, Math.PI, Math.E })
            {
                TestLengthForStruct(value, i, 8);
            }
        }
Esempio n. 2
0
        public void TestDoubleValueAsObject()
        {
            var value = new DoubleColumnValue();

            foreach (double i in
                     new[] { Double.MinValue, Double.MaxValue, -1, 0, 1, Any.Double, Double.Epsilon, Double.NegativeInfinity, Double.PositiveInfinity, Double.NaN, Math.PI, Math.E })
            {
                TestValueAsObjectForStruct(value, i);
            }
        }