Beispiel #1
0
        public void GetChars_method_should_return_positive_values(
            [Values("Hello", "world", "my", "dear", "friend!")] string test)
        {
            //arrange
            var complex = new ComplexSample();

            //act
            var result = complex.GetChars(test);

            //assert
            Assert.IsTrue(result.Sum() >= 0 || result.Sum() < 0);
        }