Created
February 12, 2016 20:52
-
-
Save IEvangelist/f6f91f4e4a4620efea35 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
[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