root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_longitude / SPtests / rss / 2.0 / geo / long.php @ 41cc1b08
1 | 41cc1b08 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | class SimplePie_First_Item_Longitude_Test_RSS_20_Geo_Long extends SimplePie_First_Item_Longitude_Test |
||
4 | { |
||
5 | function data() |
||
6 | { |
||
7 | $this->data =
|
||
8 | '<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
|
||
9 | <channel>
|
||
10 | <item>
|
||
11 | <geo:lat>55.701</geo:lat>
|
||
12 | <geo:long>12.552</geo:long>
|
||
13 | </item>
|
||
14 | </channel>
|
||
15 | </rss>';
|
||
16 | } |
||
17 | |||
18 | function expected() |
||
19 | { |
||
20 | $this->expected = 12.552; |
||
21 | } |
||
22 | } |
||
23 | |||
24 | ?> |