Beispiel #1
0
        public void InsertStringTwoNumbers_ReturnSumNumber(string input, int risultato)
        {
            int number = StringModel.Add(input);

            Assert.That(number, Is.EqualTo(risultato));
        }
Beispiel #2
0
        public void InsertCostumSeparator_ReturnSumNumbers(string input, int risultato)
        {
            int number = StringModel.Add(input);

            Assert.That(number, Is.EqualTo(risultato));
        }
Beispiel #3
0
        public void InsertEmpyString_ReturnZero()
        {
            int number = StringModel.Add("");

            Assert.That(number, Is.EqualTo(0));
        }