public void VfpFunctionsTests_Sin_Double_Test() { var result = this.GetOrderQuery().Select(x => VfpFunctions.Sin((double).5)).First(); Assert.AreEqual(0.4794255386042, result); }
public void VfpFunctionsTests_Sin_Test() => Execute(context => { var result = GetOrderQuery(context).Select(x => VfpFunctions.Sin((double)x.EmployeeId * .1)).First(); Assert.Equal(0.4794255386042, result); });