added new tests for the powertube it now succeds all tests since the uut was...
Need to add this powertube feature to main branch.
The official requirements for the feature is as follows:
4.1.2 Make the power tube power configurable The Microwave as described and implemented has a power tube power of 700 W hard coded into it. This means that it is only usable directly for such a hardware configuration.
You must make changes to the design, such that this value is configurable to other values – 500 W, 800 W, 1000 W, etc. – from the main function, when setting up and connecting all the modules before the system starts running.
What i have implemented: I have added a new parameter in the userinterface constructor to initialize the max power level, this sets how high the power can go before it resets.
I have added unit test for it so that i test before the boundary values (500W, 700W, 800W, & 1000w) on the boundary values themselves and after the boundary values (resets to 50W again).