public void VfpFunctionsTests_Rtod_Decimal_Test()
        {
            var result = this.GetOrderQuery().Select(x => VfpFunctions.Rtod((decimal)1)).First();

            Assert.AreEqual(57.29577951308230M, result);
        }
示例#2
0
        public void VfpFunctionsTests_Rtod_Test() => Execute(context => {
            var result = GetOrderQuery(context).Select(x => VfpFunctions.Rtod((decimal)(x.EmployeeId - 4))).First();

            Assert.Equal(57.29577951308230M, result);
        });