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
testInvalidChecksum()
https://github.com/sipa/bech32/blob/master/ref/python/tests.py#L100
public
testInvalidChecksum(string $hasValidChecksum) : mixed
Parameters
- $hasValidChecksum : string
Tags
testValidChecksum()
https://github.com/sipa/bech32/blob/master/ref/python/tests.py#L90
public
testValidChecksum(string $hasValidChecksum) : mixed
Parameters
- $hasValidChecksum : string
Tags
validChecksumProvider()
public
validChecksumProvider() : array<string|int, mixed>