Microformats test suite

hCard 10 - geo comprehensive data format test

This page was design to comprehensively test the geo format. Most of these tests are based on Mike Kaply work for the Firefox. The IsEqualToGeo method canonicalise and compares geo's.

From: hCard test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vcard[0].geo.latitude IsEqualToGeo("0") Should find latitude value from single element
vcard[1].geo.latitude IsEqualToGeo("0") Should find latitude value from single element
vcard[2].geo.latitude IsEqualToGeo("0") Should find latitude value from single element
vcard[3].geo.latitude IsEqualToGeo("23.7") Should find latitude value from single element
vcard[4].geo.latitude IsEqualToGeo("0") Should find latitude value from single element
vcard[5].geo HasProperty(false) Is an illegal data format for geo
vcard[6].geo HasProperty(false) Is an illegal data format for geo
vcard[7].geo HasProperty(false) Is an illegal data format for geo
vcard[8].geo HasProperty(false) Is an illegal data format for geo
vcard[9].geo HasProperty(false) Is an illegal data format for geo
vcard[10].geo HasProperty(false) Is an illegal data format for geo
vcard[11].geo HasProperty(false) Is an illegal data format for geo
vcard[12].geo HasProperty(false) Is an illegal data format for geo
vcard[13].geo HasProperty(false) Is an illegal data format for geo

History:

Legal

Illegal

Some rights reserved