io-owner.lisp 294 B

12345678910
  1. (in-package :translator-test)
  2. (def-test-method io-owner-test ((test io-test))
  3. (with-testport (p (file-name-lookup +translator-root+))
  4. (assert-equal 0 (io-get-owner p))
  5. (assert-true (io-mod-owner p 101))
  6. (assert-equal 101 (io-get-owner p))
  7. (assert-true (io-mod-owner p 0))))