root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_latitude / SPtests / atom / 0.3 / geo / lat.php @ 41cc1b08
1 |
<?php
|
---|---|
2 |
|
3 |
class SimplePie_First_Item_Latitude_Test_Atom_03_Geo_Lat extends SimplePie_First_Item_Latitude_Test |
4 |
{ |
5 |
function data() |
6 |
{ |
7 |
$this->data =
|
8 |
'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
|
9 |
<entry>
|
10 |
<geo:lat>55.701</geo:lat>
|
11 |
<geo:long>12.552</geo:long>
|
12 |
</entry>
|
13 |
</feed>';
|
14 |
} |
15 |
|
16 |
function expected() |
17 |
{ |
18 |
$this->expected = 55.701; |
19 |
} |
20 |
} |
21 |
|
22 |
?>
|