Skip to content

Instantly share code, notes, and snippets.

@plioi
Created March 4, 2014 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plioi/9338886 to your computer and use it in GitHub Desktop.
Save plioi/9338886 to your computer and use it in GitHub Desktop.
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