File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66use Astrotomic \DeepFace \Enums \Race ;
77use PHPUnit \Framework \Assert ;
88
9- describe ('analyze ' , function ():void {
10- it ('analyzes: img1 ' , function ():void {
9+ describe ('analyze ' , function (): void {
10+ it ('analyzes: img1 ' , function (): void {
1111 $ img = $ this ->image ('img1.jpg ' );
1212 $ results = $ this ->deepface ()->analyze ($ img );
1313
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ abstract class TestCase extends BaseTestCase
99{
1010 protected function deepface (): DeepFace
1111 {
12- return new DeepFace () ;
12+ return new DeepFace ;
1313 }
1414
1515 protected function image (string $ img ): string
1616 {
17- return realpath (__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures ' . DIRECTORY_SEPARATOR . 'images ' . DIRECTORY_SEPARATOR . $ img );
17+ return realpath (__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures ' .DIRECTORY_SEPARATOR . 'images ' . DIRECTORY_SEPARATOR . $ img );
1818 }
1919}
You can’t perform that action at this time.
0 commit comments