aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_longitude/SPtests/atom/0.3/geo/long.php
blob: 334fd1827b0de572bbe5540831faa195db3aacc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

class SimplePie_First_Item_Longitude_Test_Atom_03_Geo_Long extends SimplePie_First_Item_Longitude_Test
{
	function data()
	{
		$this->data = 
'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
	<entry>
		<geo:lat>55.701</geo:lat>
		<geo:long>12.552</geo:long>
	</entry>
</feed>';
	}
	
	function expected()
	{
		$this->expected = 12.552;
	}
}

?>