public void VfpFunctionsTests_Rand_Test()
        {
            var result = (int)this.GetOrderQuery().Select(x => VfpFunctions.Rand() * 100).First();

            Assert.AreNotEqual(0, result);
        }
Exemple #2
0
        public void VfpFunctionsTests_Rand_Seed_Test() => Execute(context => {
            var result = (int)GetOrderQuery(context).Select(x => VfpFunctions.Rand(x.EmployeeId - 4) * 100).First();

            Assert.NotEqual(0, result);
        });