This page was design to test the implied "n" optimization which is explained on the wiki http://microformats.org/wiki/hcard#Implied_.22n.22_Optimization. Examples copied from the orginal test suite.
From: hCard test suite 1.0
Tests:
| Test | Result | Comment |
|---|---|---|
| vcard[0].n.given-name[0] | IsEqualTo("Ryan") | The given-name value is implied from the fn value |
| vcard[0].n.family-name[0] | IsEqualTo("King") | The family-name value is implied from the fn value |
| vcard[1].n.given-name[0] | IsEqualTo("Ryan") | The given-name value is implied from the fn value |
| vcard[1].n.family-name[0] | IsEqualTo("King") | The family-name value is implied from the fn value |
| vcard[2].n.given-name[0] | IsEqualTo("Ryan") | The given-name value is implied from the fn value |
| vcard[2].n.family-name[0] | IsEqualTo("King") | The family-name value is implied from the fn value |
| vcard[3].n.given-name[0] | IsEqualTo("Brian") | The given-name value is implied from the fn value |
| vcard[3].n.family-name[0] | IsEqualTo("Suda") | The family-name value is implied from the fn value |
| vcard[4].n.given-name[0] | IsEqualTo("Ryan") | The given-name value is implied from the fn value |
| vcard[4].n.family-name[0] | IsEqualTo("King") | The family-name value is implied from the fn value |
| vcard[5].n.given-name[0] | IsEqualTo("R") | The given-name value is implied from the fn value |
| vcard[5].n.family-name[0] | IsEqualTo("King") | The family-name value is implied from the fn value |
| vcard[6].n.given-name[0] | IsEqualTo("R") | The given-name value is implied from the fn value |
| vcard[6].n.family-name[0] | IsEqualTo("King") | The family-name value is implied from the fn value |
| vcard[7].n.given-name | HasProperty(false) | The given-name property should be missing |
| vcard[7].n.family-name | HasProperty(false) | The family-name property should be missing |
| vcard[8].n.given-name | HasProperty(false) | The given-name property should be missing |
| vcard[8].n.family-name | HasProperty(false) | The family-name property should be missing |
History: