Created
March 4, 2014 02:02
-
-
Save plioi/9338886 to your computer and use it in GitHub Desktop.
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
using Hypothetical.Assertion.Library; | |
public class CalculatorTests | |
{ | |
readonly Calculator calculator; | |
public CalculatorTests() | |
{ | |
calculator = new Calculator(); | |
} | |
public void ShouldAdd() | |
{ | |
Assert.AreEqual(999, calculator.Add(2, 3)); | |
} | |
public void ShouldSubtract() | |
{ | |
Assert.AreEqual(999, calculator.Subtract(5, 3)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment