Пример #1
0
        public void Test5_CompletedButton(int checkCount)
        {
            var tempList = new List <string>();

            for (int i = 0; i < checkCount; i++)
            {
                var index = _rand.Next(TestItemsCount - 1);
                _listItem.Check(index);
                tempList.Add(_testArray[index]);
            }

            _statusBar.ClickCompleted();
            Assert.IsTrue(_listItem.GetItemsAll().Count == checkCount && NamesAreEqual(tempList));
        }