Files
EoM_Redux/EoM_Redux.Tests/StepDefinitions/CalculatorStepDefinitions.cs
T

46 lines
1.3 KiB
C#

using Reqnroll;
namespace EoM_Redux.Tests.StepDefinitions;
[Binding]
public sealed class CalculatorStepDefinitions
{
// For additional details on Reqnroll step definitions see https://go.reqnroll.net/doc-stepdef
[Given("the first number is {int}")]
public void GivenTheFirstNumberIs(int number)
{
//TODO: implement arrange (precondition) logic
// For storing and retrieving scenario-specific data see https://go.reqnroll.net/doc-sharingdata
// To use the multiline text or the table argument of the scenario,
// additional string/DataTable parameters can be defined on the step definition
// method.
throw new PendingStepException();
}
[Given("the second number is {int}")]
public void GivenTheSecondNumberIs(int number)
{
//TODO: implement arrange (precondition) logic
throw new PendingStepException();
}
[When("the two numbers are added")]
public void WhenTheTwoNumbersAreAdded()
{
//TODO: implement act (action) logic
throw new PendingStepException();
}
[Then("the result should be {int}")]
public void ThenTheResultShouldBe(int result)
{
//TODO: implement assert (verification) logic
throw new PendingStepException();
}
}