~ubuntu-branches/ubuntu/hardy/sigscheme/hardy-proposed

« back to all changes in this revision

Viewing changes to test/unittest-bigloo.scm

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2006-05-23 21:46:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060523214641-6ix4gz34wpiehub8
Tags: 0.5.0-2
* debian/control (Build-Depends): Added ruby.
  Thanks to Frederik Schueler.  Closes: #368571
* debian/rules (clean): invoke 'distclean' instead of 'clean'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(load "./test/unittest.scm")
 
2
 
 
3
;*---------------------------------------------------------------------*/
 
4
;* For Bigloo Test                                                     */
 
5
;*---------------------------------------------------------------------*/
 
6
(define (test name val expected-val)
 
7
  (assert-equal? name expected-val val))
 
8
(define (foo1 x)
 
9
   x)
 
10
(define (foo2 . x)
 
11
   x)
 
12
(define (foo3 x . y)
 
13
   (cons x y))