Sindbad~EG File Manager

Current Path : /var/www/html/edd.sumar.com.py/vendor/bacon/bacon-qr-code/test/Common/
Upload File :
Current File : /var/www/html/edd.sumar.com.py/vendor/bacon/bacon-qr-code/test/Common/ErrorCorrectionLevelTest.php

<?php
declare(strict_types = 1);

namespace BaconQrCodeTest\Common;

use BaconQrCode\Common\ErrorCorrectionLevel;
use BaconQrCode\Exception\OutOfBoundsException;
use PHPUnit\Framework\TestCase;

class ErrorCorrectionLevelTest extends TestCase
{
    public function testBitsMatchConstants() : void
    {
        $this->assertSame(0x0, ErrorCorrectionLevel::M()->getBits());
        $this->assertSame(0x1, ErrorCorrectionLevel::L()->getBits());
        $this->assertSame(0x2, ErrorCorrectionLevel::H()->getBits());
        $this->assertSame(0x3, ErrorCorrectionLevel::Q()->getBits());
    }

    public function testInvalidErrorCorrectionLevelThrowsException() : void
    {
        $this->expectException(OutOfBoundsException::class);
        ErrorCorrectionLevel::forBits(4);
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists