Files
ANSLibs/swig-4.3.0/Examples/test-suite/php/director_alternating_runme.php

12 lines
311 B
PHP
Raw Permalink Normal View History

<?php
require "tests.php";
check::functions(array('getBar','idFromGetBar'));
check::classes(array('Foo','Bar','Baz','director_alternating'));
// No new vars
check::globals(array());
$id = director_alternating::getBar()->id();
check::equal($id, director_alternating::idFromGetBar(), "idFromGetBar() failed");