Skip to content

Instantly share code, notes, and snippets.

@IEvangelist
Created February 12, 2016 20:52
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 IEvangelist/f6f91f4e4a4620efea35 to your computer and use it in GitHub Desktop.
Save IEvangelist/f6f91f4e4a4620efea35 to your computer and use it in GitHub Desktop.
[Theory, InlineData(3, 3, 9), InlineData(2, 9, 18)]
public void MultiplyTest(int leftOperand, int rightOperand, int expected)
{
// Arrange
var calculator = new Int32Calculator();
// Act
var actual = calculator.Multiply(leftOperand, rightOperand);
// Assert
Assert.Equal(expected, actual);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment