Esempio n. 1
0
        public static void Function_Sin(double value, double expected)
        {
            var number = (SqlNumber)value;
            var result = SqlMath.Sin(number);

            var expectedResult = (SqlNumber)expected;

            Assert.Equal(expectedResult, result);
        }
        public static void Function_Sin(double value, double expected)
        {
            var number = (SqlNumber)value;
            var result = SqlMath.Sin(number);

            Assert.NotNull(result);

            var doubleResult = (double)result;

            Assert.Equal(expected, doubleResult);
        }