File "SignatureTest.php"

Full Path: /home/digidjwy/public_html/wp-content/plugins/mycryptocheckout/vendor/mdanter/ecc/tests/unit/Crypto/Signature/SignatureTest.php
File size: 435 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Mdanter\Ecc\Tests\Crypto\Signature;

use Mdanter\Ecc\Crypto\Signature\Signature;
use Mdanter\Ecc\Tests\AbstractTestCase;

class SignatureTest extends AbstractTestCase
{
    public function testInstance()
    {
        $r = gmp_init(10);
        $s = gmp_init(20);
        $signature = new Signature($r, $s);
        $this->assertSame($r, $signature->getR());
        $this->assertSame($s, $signature->getS());
    }
}