Small tests refactoring.
This commit is contained in:
parent
aa6a9ac705
commit
1e59177e15
3 changed files with 8 additions and 8 deletions
|
@ -157,7 +157,7 @@
|
|||
;; Performs self-tests of this module.
|
||||
(define (mbase-dir-tests!)
|
||||
(run-tests
|
||||
members-base
|
||||
mbase-dir
|
||||
(test-equal? files+symlinks->files-dictionary
|
||||
(files+symlinks->files-dictionary
|
||||
'(joe (2803 . joe)))
|
||||
|
|
|
@ -52,21 +52,21 @@
|
|||
|
||||
(define (run-all-tests!)
|
||||
(listing-tests!)
|
||||
(lset-tests!)
|
||||
(ldict-tests!)
|
||||
(bdict-tests!)
|
||||
(cal-month-tests!)
|
||||
(cal-period-tests!)
|
||||
(cal-day-tests!)
|
||||
(primes-tests!)
|
||||
(brmember-tests!)
|
||||
(mbase-dir-tests!)
|
||||
(util-list-tests!)
|
||||
(ansi-tests!)
|
||||
(command-line-tests!)
|
||||
(mbase-dir-tests!)
|
||||
(primes-tests!)
|
||||
(brmember-tests!)
|
||||
(table-tests!)
|
||||
(csv-simple-tests!)
|
||||
(lset-tests!)
|
||||
(parser-tests!)
|
||||
(string-tests!)
|
||||
(bdict-tests!))
|
||||
(string-tests!))
|
||||
|
||||
)
|
||||
|
|
|
@ -236,7 +236,7 @@
|
|||
;; Performs self-tests of the dictionary module.
|
||||
(define (ldict-tests!)
|
||||
(run-tests
|
||||
dict
|
||||
ldict
|
||||
(test-equal? make-ldict (make-ldict) `(,TAG-LDICT (,eq?)))
|
||||
(test-exn ldict-ref (ldict-ref (make-ldict) 'nonexistent))
|
||||
(test-true ldict-ref (ldict-ref (make-ldict) 'nonexistent #t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue