<?php
/**
 * Jingga
 *
 * PHP Version 8.2
 *
 * @package   tests
 * @copyright Dennis Eichhorn
 * @license   OMS License 2.2
 * @version   1.0.0
 * @link      https://jingga.app
 */
declare(strict_types=1);

namespace phpOMS\tests;

/**
 * @internal
 */
final class ExtensionTest extends \PHPUnit\Framework\TestCase
{
    public function testExtensionMbstring() : void
    {
        self::assertTrue(\extension_loaded('mbstring'));
    }

    public function testExtensionCurl() : void
    {
        self::assertTrue(\extension_loaded('curl'));
    }

    public function testExtensionImap() : void
    {
        self::assertTrue(\extension_loaded('imap'));
    }

    public function testExtensionPdo() : void
    {
        self::assertTrue(\extension_loaded('pdo'));
    }

    public function testExtensionGD() : void
    {
        self::assertTrue(\extension_loaded('gd') || \extension_loaded('gd2'));
    }
}
