Google\Cloud\Tests\Snippets\Vision\Annotation\Face\LandmarksTest::testMidpointBetweenEyes PHP Method

testMidpointBetweenEyes() public method

    public function testMidpointBetweenEyes()
    {
        $snippet = $this->snippetFromMethod(Landmarks::class, 'midpointBetweenEyes');
        $snippet->addLocal('landmarks', $this->landmarks);
        $res = $snippet->invoke();
        $this->assertEquals($this->positionOutput('MIDPOINT_BETWEEN_EYES'), $res->output());
    }