polylabel 0.1.11

A Rust implementation of the Polylabel algorithm
Documentation
1
2
3
4
5
6
7
8
9
var test = require('tape')
  , binary = require('../index')

test('create works as expected', function(assert) {
  var len = Math.random() * 0xFF & 0xFF
  len += 1
  assert.equal(binary.create(len).length, len)
  assert.end()
})