File: unittest-bigloo.scm

package info (click to toggle)
sigscheme 0.8.3-8
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 12,236 kB
  • ctags: 7,208
  • sloc: lisp: 37,498; ansic: 30,948; sh: 9,257; makefile: 744; asm: 333; ruby: 288
file content (13 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
(require-extension (unittest))

;*---------------------------------------------------------------------*/
;* For Bigloo Test                                                     */
;*---------------------------------------------------------------------*/
(define (test name val expected-val)
  (assert-equal? name expected-val val))
(define (foo1 x)
   x)
(define (foo2 . x)
   x)
(define (foo3 x . y)
   (cons x y))