C# Class StringCalculatorTests.StringCalculator

Show file Open project: rubbepa/BikoKatas Class Usage Examples

Private Properties

Property Type Description
IgnorarOperandosNoPermitidos List
LanzarErrorSiHayNumerosNegativos void
Sumar int

Public Methods

Method Description
Add ( string cadena ) : int
StringCalculator ( IConversorCadenaToNumeros conversor ) : System

Private Methods

Method Description
IgnorarOperandosNoPermitidos ( IEnumerable operandos ) : List
LanzarErrorSiHayNumerosNegativos ( List numerosParseados ) : void
Sumar ( List operandos ) : int

Method Details

Add() public method

public Add ( string cadena ) : int
cadena string
return int

StringCalculator() public method

public StringCalculator ( IConversorCadenaToNumeros conversor ) : System
conversor IConversorCadenaToNumeros
return System