Add wrapmacro_runme.php
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fcb46fe2fa
commit
43b3e20d2f
1 changed files with 12 additions and 0 deletions
12
Examples/test-suite/php/wrapmacro_runme.php
Normal file
12
Examples/test-suite/php/wrapmacro_runme.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
require "tests.php";
|
||||
require "wrapmacro.php";
|
||||
|
||||
check::functions(array('guint16_swap_le_be_constant', 'maximum'));
|
||||
|
||||
check::equal(maximum(2.3, 2.4), 2.4, "maximum() doesn't work");
|
||||
check::equal(guint16_swap_le_be_constant(0x1234), 0x3412, "GUINT16_SWAP_LE_BE_CONSTANT() doesn't work");
|
||||
|
||||
check::done();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue