"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Component_1 = __importDefault(require("../../system/platform/component/Div/Component"));
const assert_1 = require("../../util/assert");
const system_1 = require("../util/system");
const parent = new Component_1.default({}, system_1.system);
const A = new Component_1.default({}, system_1.system);
const B = new Component_1.default({}, system_1.system);
const C = new Component_1.default({}, system_1.system);
(0, assert_1.assert)(parent.$children.length === 0);
parent.appendChild(A);
parent.appendChild(B);
parent.appendChild(C);
(0, assert_1.assert)(parent.$children.length === 3);
assert_1.assert.deepEqual(parent.$childSlotName, ['default', 'default', 'default']);
parent.removeChild(B);
(0, assert_1.assert)(parent.$children.length === 2);
assert_1.assert.deepEqual(parent.$childSlotName, ['default', 'default']);
//# sourceMappingURL=component.js.map