Exemple #1
0
        public void CheckRowValuesAreBetween(IElementCollectionWrapper column, string behavior, int value1, int value2)
        {
            Assert.ShouldBecome(() => column.Stale, false, $"{column.Caption} is stale");
            var elementsText = ListServices.GetElementsTextsList(column.Elements);

            Assert.ShouldBecome(() => ListServices.CheckValuesAreBetween(elementsText, value1, value2),
                                !behavior.Contains("not"),
                                $"values are {elementsText.Aggregate((x, y) => $"{x}, {y}")}");
        }