Lines Matching refs:element
36 self::$element = new AgeAtEvent('label');
41 self::assertSame('CHILD', self::$element->canonical('cHiLd'));
42 self::assertSame('INFANT', self::$element->canonical('iNfAnT '));
43 self::assertSame('STILLBORN', self::$element->canonical(' sTiLlBoRn'));
44 self::assertSame('fish', self::$element->canonical('fIsH'));
45 self::assertSame('1y 2m 3d', self::$element->canonical('1Y 2M 3D'));
52 self::assertSame('child', self::$element->value('cHiLd', $tree));
53 self::assertSame('infant', self::$element->value('iNfAnT ', $tree));
54 self::assertSame('stillborn', self::$element->value(' sTiLlBoRn', $tree));
55 self::assertSame('fish', self::$element->value('fIsH', $tree));
56 self::assertSame('1 year 2 months 3 days', self::$element->value('1Y 2M 3D', $tree));