commit fb8582119800d4687a7437a8d93d055737a717be
parent 75c174ea67639571c35519aa172a3c27b46f9179
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Sun, 28 May 2023 21:30:50 +0200
[GREEN] New thermostat -> current required temperature is 10
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/thermostat.py b/thermostat.py
@@ -1,5 +1,10 @@
import unittest
+class Thermostat:
+
+ def GetCurrentRequiredTemperature(self):
+ return 10
+
class ThermostatTests(unittest.TestCase):
def test_GivenNewThermostat_ThenRequiredTemperatureIs10(self):