Skip to content

Language-agnostic test case files for the Base65536 encoding

License

Notifications You must be signed in to change notification settings

qntm/base65536-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

base65536-test

These are language-agnostic test case files for the Base65536 encoding. For more about this encoding, see the JavaScript implementation, base65536.

This repository contains raw data files only. In order to validate your Base65536 implementation against them, you will probably need to create an adapter which can consume them. For example, base65536 has an adapter written in TypeScript, using Jasmine.

Structure

data/pairs

Each binary file e.g. demo.bin has a UTF-8 text counterpart e.g. demo.txt. A correct Base65536 implementation encodes the binary to the text and decodes the text to the binary. These comparisons should be bit-for-bit accurate. Note the absence of line endings in the text.

data/bad

A correct Base65536 implementation should fail to decode these text files.

Installation

npm install base65536-test

About

Language-agnostic test case files for the Base65536 encoding

Resources

License

Stars

Watchers

Forks

Packages

No packages published