package com.pedro.stringcalculator;

/**
 * Main class of this application. StringCalculator is an application created to analyze one string, extract the
 * numeric values and return an integer that represents the sum of the numeric values. Some interesting conditions
 * are described in the application documentation.
 *
 * @author Pedro Vicente Gómez Sánchez.
 */
public class StringCalculator {

    /**
     * Parse an string and sum all the numeric values removing the non numeric characters.
     *
     * @param numbers to analyze and sum.
     * @return the sum value with some restrictions described in the project documentation.
     */
    public int add(String numbers) {
        return -1;
    }
}

@@ -678,16 +678,85 @@
 bers) %7B%0A
+        int result = 0;%0A        if (!numbers.isEmpty()) %7B%0A%0A        %7D%0A
         
@@ -766,10 +766,14 @@
 urn 
--1
+result
 ;%0A  

First test implementation finished. GREEN