Permalink
Browse files

symmetric test, passes

  • Loading branch information...
1 parent 79c1879 commit 36f61da42a9dc3b701712b2b50cf82d6f86b1236 @substack substack committed Nov 20, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/encode.js
View
@@ -18,3 +18,11 @@ exports.encode = function (assert) {
});
});
};
+
+exports.symmetric = function (assert) {
+ var buf = new Buffer('pow biff zing');
+ assert.equal(
+ buf,
+ base64.decode(base64.encode(buf))
+ );
+};

0 comments on commit 36f61da

Please sign in to comment.