#7: Progress! No longer breaking!
Bug is now probably in the implementation of CONC rather than in EVAL.
This commit is contained in:
parent
d2ce61e6a7
commit
d563f390c1
4 changed files with 111 additions and 30 deletions
|
|
@ -167,7 +167,6 @@
|
|||
(T (GO START))))")]
|
||||
(is (= actual expected)))))
|
||||
|
||||
|
||||
(deftest put-get-tests
|
||||
(let [symbol 'TESTSYMBOL
|
||||
p1 'TESTPROPONE
|
||||
|
|
@ -203,4 +202,14 @@
|
|||
(is (not= val1 val2))
|
||||
(is (= actual1 expected1) "The value set can be retrieved.")
|
||||
(is (= actual2 expected2) "Values are independent.")
|
||||
(is (= actual3 expected3) "Setting a second property does not obliterate the first.")))))
|
||||
(is (= actual3 expected3) "Setting a second property does not obliterate the first.")))))
|
||||
|
||||
(deftest fsubr-tests
|
||||
(testing "FSUBR/CONC"
|
||||
(reps "(SETQ P (RANGE 1 4))")
|
||||
(reps "(SETQ Q (RANGE 5 8))")
|
||||
(reps "(SETQ R (RANGE 9 12))")
|
||||
(reps "(CONC P Q R)")
|
||||
(let [expected "(1 2 3 4 5 6 7 8 9 10 11 12)"
|
||||
actual (reps "X")]
|
||||
(is (= actual expected)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue