23var compiler = require('../compiler.js'),
24 serial = require('../serial.js'),
25 noun = require('../noun.js'),
26 test = require('tape'),
27 tchk = require('tape-check'),
28 BigInteger = require('jsbn').BigInteger,
32 pill = noun.Atom.fromString("829878621bce21b21920c888730c9059367e61cfcc39f98721920f9099110dd6986c86483c425fa84c8886dc2ec3b1330b26e2c9b478d937168f1b26e4e1887ab8e61b213c612cc4b21920fc4dc324164d5912c86483a425c21362dc2ec38b4e2c9ae2b041", 16),
33 formula = serial.cue(pill),
34 small = gen.intWithin(0,128),
35 context = new compiler.Context();
37test("nock add", check(small, small, function(t, a, b) {
39 t.equal(context.nock(n(a,b), formula).valueOf(), a + b, "a+b");
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