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>
20 lines
610 B
Racket
20 lines
610 B
Racket
#lang r7rs
|
|
|
|
(import (scheme base)
|
|
(pp1 tests)
|
|
(prefix (snake-wpo tests test-positie) positie:)
|
|
(prefix (snake-wpo tests test-appel) appel:))
|
|
|
|
;; Omdat dit project onvolledig is hebben we enkel testcode voorzien
|
|
;; voor enkele oefeningen uit het WPO. Voor je eigen project raden we
|
|
;; je aan om voor elk ADT minstens één test te voorzien. Een apart
|
|
;; bestand waarin je alle testen combineert, zoals dit, helpt
|
|
;; om snel alle functionaliteit van je project (waar een test voor
|
|
;; geschreven is) te controleren.
|
|
|
|
(define (test-alles)
|
|
(positie:test)
|
|
(appel:test))
|
|
|
|
(test-alles)
|