root/trunk/Experiment/UsingMoQ/UsingMoQ/Cruncher.cs
| Revision 7, 341 bytes (checked in by louis.dejardin, 9 months ago) |
|---|
| Line | |
|---|---|
| 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | using System.Linq; |
| 4 | using System.Text; |
| 5 | |
| 6 | namespace UsingMoQ |
| 7 | { |
| 8 | public interface ICruncher |
| 9 | { |
| 10 | int Add(int a, int b); |
| 11 | } |
| 12 | |
| 13 | public class Cruncher : ICruncher |
| 14 | { |
| 15 | public int Add(int a, int b) |
| 16 | { |
| 17 | return a + b; |
| 18 | } |
| 19 | } |
| 20 | } |
Note: See TracBrowser for help on using the browser.
