mirror of
https://github.com/mosbth/cimage.git
synced 2025-07-31 21:40:12 +02:00
adding phpdoc fix #48
This commit is contained in:
39
docs/api/files/webroot%2Ftest%2Ftest_issue29.php.txt
Normal file
39
docs/api/files/webroot%2Ftest%2Ftest_issue29.php.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// Include config for all testcases
|
||||
include __DIR__ . "/config.php";
|
||||
|
||||
|
||||
|
||||
// The title of the test case
|
||||
$title = "Testing img for issue 29";
|
||||
|
||||
|
||||
|
||||
// Provide a short description of the testcase.
|
||||
$description = "";
|
||||
|
||||
|
||||
|
||||
// Use these images in the test
|
||||
$images = array(
|
||||
'issue29/400x265.jpg',
|
||||
'issue29/400x268.jpg',
|
||||
'issue29/400x300.jpg',
|
||||
'issue29/465x304.jpg',
|
||||
'issue29/640x273.jpg',
|
||||
);
|
||||
|
||||
|
||||
|
||||
// For each image, apply these testcases
|
||||
$testcase = array(
|
||||
'&w=300&cf&q=80&nc',
|
||||
'&w=75&h=75&cf&q=80&nc',
|
||||
'&w=75&h=75&q=80',
|
||||
);
|
||||
|
||||
|
||||
|
||||
// Applu testcases and present results
|
||||
include __DIR__ . "/template.php";
|
||||
|
Reference in New Issue
Block a user