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
- Host: GitHub
- URL: https://github.com/ton-community/tlb-test-corpus
- Owner: ton-community
- License: agpl-3.0
- Created: 2025-06-27T13:37:06.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-07-29T22:28:12.000Z (4 months ago)
- Last Synced: 2025-07-30T00:02:24.977Z (4 months ago)
- Topics: testing, tlb, ton
- Language: TypeScript
- Homepage:
- Size: 108 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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
```