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

changed test

parent 64faa461
No related branches found
No related tags found
3 merge requests!8Merge Defrost to Main,!7Mere Defrost to main,!3Add details
Pipeline #193559 passed
using System;
using System.Threading;
using Microwave.Classes.Controllers;
using Microwave.Classes.Interfaces;
using NSubstitute;
using NuGet.Frameworks;
using NUnit.Framework;
using NUnit.Framework.Internal.Commands;
namespace Microwave.Test.Unit
{
......@@ -83,5 +86,22 @@ namespace Microwave.Test.Unit
powerTube.Received().TurnOff();
}
[Test]
public void Cooking_Defrost_Enabled()
{
uut.Defrost(700);
powerTube.Received(700);
}
[Test]
public void Cooking_Defrost_ToggleTest()
{
uut.Defrost(700);
uut.StartCooking(700, 30);
}
}
}
\ No newline at end of file
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