"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@vived/core");
const ObjectPickEntity_1 = require("../Entities/ObjectPickEntity");
const toggleIsSelectingCorrectObjectPicks_1 = require("./toggleIsSelectingCorrectObjectPicks");
function makeTestRig() {
    const appObjects = (0, core_1.makeAppObjectRepo)();
    const objectPick = (0, ObjectPickEntity_1.makeObjectPickEntity)(appObjects.getOrCreate("Object Pick"));
    return { appObjects, objectPick };
}
describe("Clear correct object pick IDs", () => {
    it("Toggles the is selecting flag", () => {
        const { appObjects, objectPick } = makeTestRig();
        objectPick.isSelectingCorrectObjects = true;
        (0, toggleIsSelectingCorrectObjectPicks_1.toggleIsSelectingCorrectObjectPicks)(appObjects);
        expect(objectPick.isSelectingCorrectObjects).toEqual(false);
        (0, toggleIsSelectingCorrectObjectPicks_1.toggleIsSelectingCorrectObjectPicks)(appObjects);
        expect(objectPick.isSelectingCorrectObjects).toEqual(true);
    });
});
//# sourceMappingURL=toggleIsSelectingCorrectObjectPicks.test.js.map