Definition at line 8 of file FloatTest.php.
◆ testMimeDir()
Sabre\VObject\Property\FloatTest::testMimeDir |
( |
| ) |
|
Definition at line 10 of file FloatTest.php.
10 {
11
12 $input =
"BEGIN:VCARD\r\nVERSION:4.0\r\nX-FLOAT;VALUE=FLOAT:0.234;1.245\r\nEND:VCARD\r\n";
13 $mimeDir =
new VObject\Parser\MimeDir(
$input);
14
16
17 $this->assertInstanceOf(
'Sabre\VObject\Property\FloatValue',
$result->{
'X-FLOAT'});
18
19 $this->assertEquals([
20 0.234,
21 1.245,
22 ],
$result->{
'X-FLOAT'}->getParts());
23
24 $this->assertEquals(
27 );
28
29 }
foreach($paths as $path) if($argc< 3) $input
References Sabre\VObject\$input, and $result.
The documentation for this class was generated from the following file:
- libs/composer/vendor/sabre/vobject/tests/VObject/Property/FloatTest.php