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

changes to test

parent 7f508c40
No related branches found
No related tags found
3 merge requests!8Merge Defrost to Main,!7Mere Defrost to main,!3Add details
Pipeline #194305 passed
......@@ -77,14 +77,11 @@ namespace Microwave.Classes.Controllers
while (isCooking)
{
if ((myTimer.TimeRemaining % 60) > 10)
{
Thread.Sleep(10000);
myPowerTube.TurnOff();
Thread.Sleep(10000);
myPowerTube.TurnOn(power);
}
Thread.Sleep(10000);
myPowerTube.TurnOff();
Thread.Sleep(10000);
myPowerTube.TurnOn(power);
}
}
......
......@@ -100,9 +100,10 @@ namespace Microwave.Test.Unit
uut.Defrost(700);
uut.StartCooking(700, 30);
uut.Stop();
powerTube.Recieved(2).TurnOn();
powerTube.Recieved(1).TurnOff();
powerTube.Received(1).TurnOn(700);
powerTube.Received(1).TurnOff();
}
......
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