mirror of
https://github.com/shufflingpixels/php-io.git
synced 2026-06-16 05:04:59 +02:00
Initial commit
This commit is contained in:
commit
c677cfccd4
23 changed files with 5553 additions and 0 deletions
9
tests/Unit/SeekModeTest.php
Normal file
9
tests/Unit/SeekModeTest.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
use Shufflingpixels\IO\SeekMode;
|
||||
|
||||
it('maps to native seek constants', function () {
|
||||
expect(SeekMode::SET->value)->toBe(SEEK_SET)
|
||||
->and(SeekMode::CUR->value)->toBe(SEEK_CUR)
|
||||
->and(SeekMode::END->value)->toBe(SEEK_END);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue