new tasks
This commit is contained in:
parent
2a4d27cea0
commit
80737d5a6a
1194 changed files with 15353 additions and 1 deletions
4
Task/Assertions/PicoLisp/assertions-2.l
Normal file
4
Task/Assertions/PicoLisp/assertions-2.l
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(let N 41
|
||||
(unless (= N 42) (quit "Incorrect N" N)) ) # 'quit' throws an error
|
||||
41 -- Incorrect N
|
||||
?
|
||||
5
Task/Assertions/PicoLisp/assertions-3.l
Normal file
5
Task/Assertions/PicoLisp/assertions-3.l
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(let N 41
|
||||
(unless (= N 42) (! setq N 42)) ) # '!' is a breakpoint
|
||||
(setq N 42) # Manually fix the value
|
||||
! # Hit ENTER to leave the breakpoint
|
||||
-> 42
|
||||
3
Task/Assertions/PicoLisp/assertions.l
Normal file
3
Task/Assertions/PicoLisp/assertions.l
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
...
|
||||
~(assert (= N 42)) # Exists only in debug mode
|
||||
...
|
||||
Loading…
Add table
Add a link
Reference in a new issue