public void VfpFunctionsTests_Cos_Decimal_Test()
        {
            var result = this.GetOrderQuery().Select(x => VfpFunctions.Cos((decimal).5)).First();

            Assert.AreEqual(0.87758256189037, result);
        }
Пример #2
0
        public void VfpFunctionsTests_Cos_Test() => Execute(context => {
            var result = GetOrderQuery(context).Select(x => VfpFunctions.Cos(x.EmployeeId * .1)).First();

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