1import nounT from './noun.js';
2import bits from '../bits.js';
3import test from 'tape';
4import tchk from 'tape-check';
7test('bytes', check({times: 10000}, nounT.genAtom, function (t, a) {
9 nounT.equals(t, bits.bytesToAtom(bits.atomToBytes(a)), a, 'round trip');
12test('words', check({times: 10000}, nounT.genAtom, function (t, a) {
14 nounT.equals(t, bits.wordsToAtom(bits.atomToWords(a)), a, 'round trip');
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list