"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const stringifyDataValue_1 = require("../../spec/stringifyDataValue");
const _classes_1 = require("../../system/_classes");
const _specs_1 = require("../../system/_specs");
const assert_1 = require("../../util/assert");
assert_1.assert.equal((0, stringifyDataValue_1.stringifyDataValue)('"foo"', _specs_1.default, _classes_1.default), '"foo"');
assert_1.assert.equal((0, stringifyDataValue_1.stringifyDataValue)({ ref: [], data: '"foo"' }, _specs_1.default, _classes_1.default), `"\\"foo\\""`);
assert_1.assert.equal((0, stringifyDataValue_1.stringifyDataValue)({ ref: [], data: false }, _specs_1.default, _classes_1.default), 'false');
assert_1.assert.equal((0, stringifyDataValue_1.stringifyDataValue)({
    ref: [[]],
    data: { unit: { id: '260d774e-bc89-4027-aa92-cb1985fb312b' } },
}, _specs_1.default, _classes_1.default), '${"unit":{"id":"260d774e-bc89-4027-aa92-cb1985fb312b"}}');
//# sourceMappingURL=stringifyDataValue.js.map