Fix metar clouds test
This commit is contained in:
@@ -145,6 +145,8 @@ class MetarTest extends TestCase
|
||||
$metar = Metar::parse($metar);
|
||||
|
||||
$this->assertNotNull($metar);
|
||||
$this->assertEquals(2, count($metar->clouds));
|
||||
$this->assertEquals(2, count($metar['clouds']));
|
||||
$this->assertEquals('A few at 457 meters; a few at 7620 meters', $metar['clouds_report']);
|
||||
$this->assertEquals('A few at 1500 feet; a few at 25000 feet', $metar['clouds_report_ft']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user