Пример #1
0
        public void RandomizeRecipesSelectionNotSameValuesCountFailTest()
        {
            string getPath = Path.GetFullPath(Path.Combine(Environment.CurrentDirectory, @"..\..\..\"));
            string path    = getPath + "GoDiet\\DietData";
            var    res     = MyMethodsLib.RandomizeRecipesSelection("1200", "Yes", path,
                                                                    "b.json", "b2.json", "l.json", "d.json");

            List <int> expList = new List <int>()
            {
                1, 1, 1, 1, 1, 1
            };

            Assert.AreNotSame(res.Count, expList.Count);
        }