ffi-check.scm 339 B

12345678910111213141516
  1. ; Part of Scheme 48 1.9. See file COPYING for notices and license.
  2. ; Authors: Harald Glab-Plhak
  3. ;; test for the new ffi
  4. (define-test-suite ffi-base-tests )
  5. ;; test a simple insert with two bindings
  6. (define-test-case ffi-base-test-case ffi-base-tests
  7. (check
  8. (let ((result (ffi-add-integer 50)))
  9. (/ result 10))
  10. => 50))