Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Jan 15, 2024
1 parent 0ab9a3f commit 91cadb4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/DisposalMethodTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

namespace Intervention\Gif\Test;

use Intervention\Gif\DisposalMethod;
use PHPUnit\Framework\TestCase;

class DisposalMethodTest extends TestCase
{
public function testIntegerValues(): void
{
$this->assertEquals(0, DisposalMethod::UNDEFINED->value);
$this->assertEquals(1, DisposalMethod::NONE->value);
$this->assertEquals(2, DisposalMethod::BACKGROUND->value);
$this->assertEquals(3, DisposalMethod::PREVIOUS->value);
}
}

0 comments on commit 91cadb4

Please sign in to comment.