智慧教务系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
422 B

<?php
declare(strict_types=1);
namespace Location;
use Location\Distance\Vincenty;
use PHPUnit\Framework\TestCase;
class Issue18Test extends TestCase
{
public function testIfIssue18IsFixed(): void
{
$vincenty = new Vincenty();
$distance = $vincenty->getDistance(
new Coordinate(0, 0),
new Coordinate(0, 0.1)
);
$this->assertIsFloat($distance);
}
}