Пример #1
0
        public void WorkForBlankSpace()
        {
            NumberSign result = Week4.CountPositiveNegativeNumbers("");

            Assert.AreEqual(result, NumberSign.BLANK_SPACE);
        }
Пример #2
0
        public void WorkForZeroNumber()
        {
            NumberSign result = Week4.CountPositiveNegativeNumbers("0");

            Assert.AreEqual(result, NumberSign.ZERO);
        }
Пример #3
0
        public void WorkForPositiveNumber()
        {
            NumberSign result = Week4.CountPositiveNegativeNumbers("20");

            Assert.AreEqual(result, NumberSign.POSITIVE);
        }
Пример #4
0
        public void WorkForNegativeNumber()
        {
            NumberSign result = Week4.CountPositiveNegativeNumbers("-9");

            Assert.AreEqual(result, NumberSign.NEGATIVE);
        }
Пример #5
0
 public void FailWhithTextValue()
 {
     NumberSign result = Week4.CountPositiveNegativeNumbers("nombre");
 }