An open API service indexing awesome lists of open source software.

https://github.com/ton-community/tlb-test-corpus

A set of test vectors for testing implementations of tools for working with TL-B
https://github.com/ton-community/tlb-test-corpus

testing tlb ton

Last synced: 4 months ago
JSON representation

A set of test vectors for testing implementations of tools for working with TL-B

Awesome Lists containing this project

README

          

# TL-B Test Corpus

A set of test vectors for testing implementations of tools for working with TL-B

[tlb-corpus.ts](tlb-corpus.ts)

**Case format**
```typescript
[
'_ data:# = TLB;', // TL-B Schema
[ // Use cases
[
{ kind: 'TLB', data: 42 }, // Data
'b5ee9c724101010100060000080000002a05a6f044', // BoC in hex
],
[
{ kind: 'TLB', data: 4294967295 },
'b5ee9c72410101010006000008ffffffffdbb437b8',
],
],
]
```

```bash
npm install
npm test
```