Skip to content

Commit

Permalink
Tests: more cleanup efforts
Browse files Browse the repository at this point in the history
There is still a mountain of work to do to make these tests capable of each running on their own.
  • Loading branch information
rwaldron committed Mar 12, 2016
1 parent dcd7268 commit ba2af45
Show file tree
Hide file tree
Showing 3 changed files with 766 additions and 735 deletions.
5 changes: 2 additions & 3 deletions test/encoder7bit.test.js
@@ -1,14 +1,13 @@
var should = require("should"),
Encoder7Bit = require("../lib/encoder7bit");

describe("board", function () {
it("should encode and decode via in-memory array", function (done) {
describe("Encoder7Bit", function () {
it("must encode and decode via in-memory array", function (done) {
var input = [40, 219, 239, 33, 5, 0, 0, 93, 0, 0, 0, 0, 0, 0, 0, 0];
var encoded = Encoder7Bit.to7BitArray(input);
var decoded = Encoder7Bit.from7BitArray(encoded);

decoded.should.eql(input);

done();
});
});

0 comments on commit ba2af45

Please sign in to comment.