git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
19 lines
471 B
PHP
19 lines
471 B
PHP
<?php
|
|
// Sample test file
|
|
require "tests.php";
|
|
require "arrays.php";
|
|
|
|
check::functions(array(fn_taking_arrays,newintpointer,setintfrompointer,getintfrompointer,array_pointer_func));
|
|
check::classes(array(arrays,SimpleStruct,ArrayStruct,CartPoseData_t));
|
|
// No new vars
|
|
check::globals(array());
|
|
|
|
$ss=new simplestruct();
|
|
check::classname(simplestruct,$ss);
|
|
|
|
$as=new arraystruct();
|
|
$as->array_c="abc";
|
|
check::equal($as->array_c,"ab",'$as->array_c=="ab"');
|
|
|
|
check::done();
|
|
?>
|