Skip to content
Snippets Groups Projects
Commit f7a25abf authored by ClausBC's avatar ClausBC
Browse files

test update

parent 8e2663d4
No related branches found
No related tags found
1 merge request!14Defrost
Pipeline #194389 passed
......@@ -348,7 +348,32 @@ namespace Microwave.Test.Unit
cooker.Received().AddCookingTime();
}
[Test]
public void Test_OnDefrostPressed()
{
powerButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
defrostButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
timeButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
defrostButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
startCancelButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
defrostButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
}
[Test]
public void Test_Defrost_start()
{
powerButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
timeButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
defrostButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
startCancelButton.Pressed += Raise.EventWith(this, EventArgs.Empty);
cooker.Received().Defrost(50);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment