aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php')
-rw-r--r--simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php
new file mode 100644
index 000000000..84749ffd7
--- /dev/null
+++ b/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php
@@ -0,0 +1,23 @@
+<?php
+
+class SimplePie_Feed_Image_Width_Test_RSS_091_Userland_Width extends SimplePie_Feed_Image_Width_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91">
+ <channel>
+ <image>
+ <width>100</width>
+ </image>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 100.0;
+ }
+}
+
+?> \ No newline at end of file