for the students: by default, don't run the solution (not part of this repo)

This commit is contained in:
Joeri Exelmans 2024-11-29 13:04:21 +01:00
parent ebf052f5ce
commit d75088a231
2 changed files with 4 additions and 4 deletions

View file

@ -4,8 +4,8 @@ import sys
# load generated Statechart code # load generated Statechart code
from srcgen.water_level_simulator import WaterLevelSimulator from srcgen.water_level_simulator import WaterLevelSimulator
# from srcgen.lock_controller import LockController from srcgen.lock_controller import LockController
from srcgen.solution import Solution as LockController # Teacher's solution # from srcgen.solution import Solution as LockController # Teacher's solution
from lib.yakindu.rx import Observer from lib.yakindu.rx import Observer
from lib.controller import Controller, pretty_time from lib.controller import Controller, pretty_time

View file

@ -1,8 +1,8 @@
import functools import functools
from lib.test import run_scenarios from lib.test import run_scenarios
# from srcgen.lock_controller import LockController from srcgen.lock_controller import LockController
from srcgen.solution import Solution as LockController # Teacher's solution # from srcgen.solution import Solution as LockController # Teacher's solution
# For each test scenario, sends a sequence of timed input events to the statechart, and checks if the expected sequence of timed output events occurs. # For each test scenario, sends a sequence of timed input events to the statechart, and checks if the expected sequence of timed output events occurs.