Skip to content

Commit

Permalink
move test file
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Nov 29, 2024
1 parent 39b6612 commit 894e105
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test.php → bin/test.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
use LeKoala\SpreadCompat\Xlsx\Native;
use Shuchkin\SimpleXLSXGen;

require './vendor/autoload.php';
require './res/F.php';
require dirname(__DIR__) . '/vendor/autoload.php';
require dirname(__DIR__) . '/res/F.php';

use LeKoala\F;

error_log(-1);

$native = new Native();
$data = $native->readFile(__DIR__ . '/tests/data/header.xlsx');
$data = $native->readFile(dirname(__DIR__) . '/tests/data/header.xlsx');
// var_dump(iterator_to_array($data));

$native = new Native();
$data = $native->readFile(__DIR__ . '/tests/data/header.xlsx', assoc: true);
$data = $native->readFile(dirname(__DIR__) . '/tests/data/header.xlsx', assoc: true);
// var_dump(iterator_to_array($data));


Expand Down

0 comments on commit 894e105

Please sign in to comment.