/** * @covers Marando\AstroCoord\Geo::isE */ public function testIsE() { for ($lon = 0; $lon < 180; $lon++) { $this->assertTrue(Geo::deg(0, $lon)->isE(), "1 < Lon < 180 ({$lon})"); } for ($lon = -180; $lon < 0; $lon++) { $this->assertFalse(Geo::deg(0, $lon)->isE(), "-180 < Lon < 0 ({$lon})"); } }