Commit 8fd36510 authored by Christopher Riesbeck's avatar Christopher Riesbeck

added Chenghong Lin's test for SHORTEST-PATH for some IDS code errors

parent 5206620d
......@@ -5,6 +5,7 @@
;;; Update history:
;;; 12-14-2018 added Chenghong Lin's test case for SHORTEST-PATH [CKR]
;;; 12-11-2018 added Yian Su's tests cases for INTERSECT-SEGMENTS [CKR]
;;; 11-14-2018 added boundary test to EVERY-RANGE [CKR]
;;; 11-14-2018 added variant test case to SOLVE [CKR]
......@@ -512,6 +513,7 @@
(test-path '(a c e f) 'a 'f '((a b c) (b c) (c e) (e f)))
(test-path '(a b f) 'a 'f '((a b c) (b c f) (c e) (e f)))
(test-path '() 'a 'f '((a b c) (b c) (c d) (e f)))
(test-path '(a b f) 'a 'f '((a b c d) (b e f)))
;; With cycles
(test-path '(a c d) 'a 'd '((a b c) (b a c) (c d)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment