exports['test resolve'] = function (assert) {
      let cuddlefish_id = 'sdk/loader/cuddlefish';

      assert.equal(resolve('../index.js', './dir/c.js'), './index.js');
      assert.equal(resolve('./index.js', './dir/c.js'), './dir/index.js');
      assert.equal(resolve('./dir/c.js', './index.js'), './dir/c.js');
      assert.equal(resolve('../utils/file.js', './dir/b.js'), './utils/file.js');

      assert.equal(resolve('../utils/./file.js', './dir/b.js'), './utils/file.js');
      assert.equal(resolve('../utils/file.js', './'), './utils/file.js');
      assert.equal(resolve('./utils/file.js', './'), './utils/file.js');
      assert.equal(resolve('./utils/file.js', './index.js'), './utils/file.js');

      assert.equal(resolve('../utils/./file.js', cuddlefish_id), 'sdk/utils/file.js');
      assert.equal(resolve('../utils/file.js', cuddlefish_id), 'sdk/utils/file.js');
      assert.equal(resolve('./utils/file.js', cuddlefish_id), 'sdk/loader/utils/file.js');
    };