"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
const internal_1 = require("../../../../internal");
const Persistence_1 = require("../../../../Persistence");
describe('Persistence.CdmFolder.Argument', () => {
    /**
     * Test loading an argument with value 0 (number).
     */
    it('TestLoadingZeroValue', () => {
        const corpus = new internal_1.CdmCorpusDefinition();
        const argumentData = {
            'value': 0
        };
        var argument = Persistence_1.CdmFolder.ArgumentPersistence.fromData(corpus.ctx, argumentData);
        expect(argument.value)
            .toEqual(0);
        var argumentToData = Persistence_1.CdmFolder.ArgumentPersistence.toData(argument, null, null);
        expect(argumentToData)
            .toEqual(0);
    });
});
//# sourceMappingURL=Argument.test.js.map