public void VfpFunctionsTests_Log_Decimal_Test() { var result = this.GetOrderQuery().Select(x => VfpFunctions.Log((decimal).5)).First(); Assert.AreEqual(-0.69314718055995, result); }
public void VfpFunctionsTests_Log_Test() => Execute(context => { var result = GetOrderQuery(context).Select(x => VfpFunctions.Log(x.EmployeeId * .1)).First(); Assert.Equal(-0.693147180559945, result); });