Created
September 29, 2014 22:49
-
-
Save joebuschmann/e5155a5fa2cc2e3b2b7e to your computer and use it in GitHub Desktop.
Simple implementation of Specflow's calculator service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CalculatorService | |
{ | |
public int Add(IEnumerable<int> numbers) | |
{ | |
return numbers.Sum(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment