(function () {
  "use strict";

  require('../lib/concat');

  var abc = new Buffer('abc'),
    def = new Buffer('def'),
    ghi = new Buffer('ghi'),
    data = Buffer.concat(abc, def, ghi); 

  console.log(data.toString());

  data = Buffer.concat([abc, def, ghi]);
  console.log(data.toString());
  console.log("Passed if both strings were 'abcdefghi'");
}());

(function () {
  "use strict";

  require('../bufferjs/concat');
  var assert = require('assert');

  var abc = new Buffer('abc'),
    def = 'def', // Accepts Strings as well
    ghi = new Buffer('ghi'),
    realResult = abc + def + ghi,
    data = Buffer.concat(abc, def, ghi); 

  console.log(data.toString());
  assert.equal(abc+def+ghi, data.toString());

  data = Buffer.concat([abc, def, ghi]);
  console.log(data.toString());
  assert.equal(abc+def+ghi, data.toString());
}());

Update concat test to use 'assert' module and test for new String behavior.
Update concat test to use 'assert' module and test for new String behavior.
