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

            Assert.AreEqual(2.71828182845905, result);
        }
Ejemplo n.º 2
0
        public void VfpFunctionsTests_Exp_Test() => Execute(context => {
            var result = GetOrderQuery(context).Select(x => VfpFunctions.Exp((decimal)x.EmployeeId - 4)).First();

            Assert.Equal(2.71828182845905, result);
        });