We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12cdb3 commit 0ab2ac1Copy full SHA for 0ab2ac1
tests/Unit/LengthTest.php
@@ -21,6 +21,12 @@ public function testFromFoot()
21
$lengthUnit = new Length\Foot(1);
22
$this->assertEquals('0.3048 m', Length\Meter::from($lengthUnit)->format(4));
23
}
24
+ public function testFromFootAnother()
25
+ {
26
+ $lengthUnit = new Length\Foot(136043.25);
27
+ $lengthUnitTo = new Length\Meter();
28
+ $this->assertEquals('41465.9826 m', $lengthUnit->to($lengthUnitTo)->format(4));
29
+ }
30
public function testFromYard()
31
{
32
$lengthUnit = new Length\Yard(1);
0 commit comments