Tests for Positie, Doolhof, Pac-Man, Score, and Tijdslimiet ADTs using check/check-eq?/run-test from (pp1 tests) library. Centralized test runner in alle-testen.rkt with prefix imports. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
838 B
Racket
26 lines
838 B
Racket
#lang r7rs
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; Alle Testen ;;
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; Voert alle ADT-testen uit. Open dit bestand en evalueer om alle testen
|
|
;; tegelijkertijd te draaien.
|
|
|
|
(import (scheme base)
|
|
(pp1 tests)
|
|
(prefix (pacman-project tests test-positie) positie:)
|
|
(prefix (pacman-project tests test-doolhof) doolhof:)
|
|
(prefix (pacman-project tests test-pacman) pacman:)
|
|
(prefix (pacman-project tests test-score) score:)
|
|
(prefix (pacman-project tests test-tijdslimiet) tijdslimiet:))
|
|
|
|
(define (test-alles)
|
|
(positie:test)
|
|
(doolhof:test)
|
|
(pacman:test)
|
|
(score:test)
|
|
(tijdslimiet:test))
|
|
|
|
(test-alles)
|