Add simplepie
This commit is contained in:
23
simplepie/test/feed_image_width/SPtests/rss/2.0/width.php
Normal file
23
simplepie/test/feed_image_width/SPtests/rss/2.0/width.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
class SimplePie_Feed_Image_Width_Test_RSS_20_Width extends SimplePie_Feed_Image_Width_Test
|
||||
{
|
||||
function data()
|
||||
{
|
||||
$this->data =
|
||||
'<rss version="2.0">
|
||||
<channel>
|
||||
<image>
|
||||
<width>100</width>
|
||||
</image>
|
||||
</channel>
|
||||
</rss>';
|
||||
}
|
||||
|
||||
function expected()
|
||||
{
|
||||
$this->expected = 100.0;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user