Documentation

DecodeTest extends TestCase
in package

Table of Contents

Methods

failedDecodeFixtures()  : mixed
invalidChecksumProvider()  : array<string|int, mixed>
testDecodeFails()  : mixed
testInvalidChecksum()  : mixed
https://github.com/sipa/bech32/blob/master/ref/python/tests.py#L100
testValidChecksum()  : mixed
https://github.com/sipa/bech32/blob/master/ref/python/tests.py#L90
validChecksumProvider()  : array<string|int, mixed>

Methods

failedDecodeFixtures()

public failedDecodeFixtures() : mixed

invalidChecksumProvider()

public invalidChecksumProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

testDecodeFails()

public testDecodeFails(string $bech32, string $exceptionMsg) : mixed
Parameters
$bech32 : string
$exceptionMsg : string
Tags
dataProvider

failedDecodeFixtures

testInvalidChecksum()

https://github.com/sipa/bech32/blob/master/ref/python/tests.py#L100

public testInvalidChecksum(string $hasValidChecksum) : mixed
Parameters
$hasValidChecksum : string
Tags
dataProvider

invalidChecksumProvider

testValidChecksum()

https://github.com/sipa/bech32/blob/master/ref/python/tests.py#L90

public testValidChecksum(string $hasValidChecksum) : mixed
Parameters
$hasValidChecksum : string
Tags
dataProvider

validChecksumProvider

validChecksumProvider()

public validChecksumProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results