blob: 5d086debfd312796fc0a71289bdf1af581610a9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
(assert (and #t))
(assert (and #t #t))
(assert (and #t #t #t))
(assert (not (and #t #f #t)))
(assert (not (and #f #t #t)))
(assert (not (and #f #t #t)))
(assert (not (or #f)))
(assert (not (or #f #f)))
(assert (not (or #f #f #f)))
(assert (or #t #f #f))
(assert (or #f #t #f))
(assert (or #t #t #f))
(let ((t #f))
(or #t
(setq t #t))
(assert (not t)))
(let ((t #f))
(and #t
(setq t #t))
(assert t))
(let ((t #t))
(and (setq t #f)
(setq t #t))
(assert (not t)))
|