Renamed files: constanten→constants, adt-positie→adt-position, adt-doolhof→adt-maze, adt-sleutel→adt-key, adt-tijdslimiet→adt-timer, adt-teken→adt-draw, adt-spel→adt-game. All message names, variables, comments, and tests converted to English. Also fixed counter location bug (time-label x/y were swapped). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
776 B
Racket
25 lines
776 B
Racket
#lang r7rs
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; All Tests ;;
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; Runs all ADT tests. Open this file and evaluate to run everything.
|
|
|
|
(import (scheme base)
|
|
(pp1 tests)
|
|
(prefix (pacman-project tests test-position) position:)
|
|
(prefix (pacman-project tests test-maze) maze:)
|
|
(prefix (pacman-project tests test-pacman) pacman:)
|
|
(prefix (pacman-project tests test-score) score:)
|
|
(prefix (pacman-project tests test-timer) timer:))
|
|
|
|
(define (test-all)
|
|
(position:test)
|
|
(maze:test)
|
|
(pacman:test)
|
|
(score:test)
|
|
(timer:test))
|
|
|
|
(test-all)
|