Browse Source

Fix the tests, once again.

master
Sergiu Ivanov 8 months ago
parent
commit
f88705ea81
  1. 2
      graph.rkt

2
graph.rkt

@ -245,7 +245,7 @@
(test-case "4 Basic Graph Functions"
;; 4.1 Breadth-first Search
(define-values (bfs-lens bfs-tree) (bfs (directed-graph '((a b) (b c))) 'a))
(check-equal? (hash->ordered-list bfs-lens) '((c . 2) (a . 0) (b . 1)))
(check-equal? (hash->ordered-list bfs-lens) '((a . 0) (b . 1) (c . 2)))
(check-equal? (hash->ordered-list bfs-tree) '((a . #f) (b . a) (c . b))))
(test-case "10 Graphviz"

Loading…
Cancel
Save