mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-07 01:39:37 +02:00
We finally have files!
This commit is contained in:
commit
475f284670
48 changed files with 2022 additions and 0 deletions
19
Ingegneria del Software/7/wrong.txt
Normal file
19
Ingegneria del Software/7/wrong.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
<pre>
|
||||
class Monitor
|
||||
InputReal x, y;
|
||||
OutputBoolean wy;
|
||||
Boolean wz;
|
||||
|
||||
initial equation
|
||||
|
||||
wy = false;
|
||||
equation
|
||||
|
||||
wz = (time > 60) and (delay(x, 10) <= 0) and (y >= 0);
|
||||
|
||||
algorithm
|
||||
when edge(wz) then
|
||||
wy := true;
|
||||
end when;
|
||||
end Monitor;
|
||||
</pre>
|
Loading…
Add table
Add a link
Reference in a new issue