UNPKG

teletexthash

Version:

edit-tf compatible teletext has encoder and decoder library

9 lines (7 loc) 206 B
const { getBit } = require('../src/utils'); const assert = require('assert'); describe('getBit', function() { it('should return with true', function() { assert.strictEqual(getBit(1, 7), true); }); });