public void VfpFunctionsTests_Replicate_Test()
        {
            var result = this.GetOrderQuery().Select(x => VfpFunctions.Replicate("Z", 3)).First();

            Assert.AreEqual("ZZZ", result);
        }
Exemple #2
0
        public void VfpFunctionsTests_Replicate_Test() => Execute(context => {
            var result = GetOrderQuery(context).Select(x => VfpFunctions.Replicate(x.ShipCountry.Substring(0, 1), 3)).First();

            Assert.Equal("FFF", result);
        });