 ! Copyright (C) 2009 Jeremy Hughes.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien.inline alien.marshall.syntax destructors
-tools.test ;
+tools.test accessors kernel ;
 IN: alien.marshall.syntax.tests
 
 DELETE-C-LIBRARY: test

    return x;
;

;C-LIBRARY

{ 1 1 } [ outarg1 ] must-infer-as


{ 2 2 } [ outarg2 ] must-infer-as
[ 18 15 ] [ 3 5 outarg2 ] unit-test

{ 1 1 } [ hours ] must-infer-as
[ 5.0 ] [ <sundial> <wedge> 150 >>degrees >>wedge hours ] unit-test

{ 2 0 } [ change_time ] must-infer-as
[ 150.0 ] [ 5 <sundial> <wedge> 11 >>degrees >>wedge [ change_time ] keep wedge>> degrees>> ] unit-test
