"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const cross_domain_projections_1 = require("../../walls/03-knowledge/dna/cross-domain-projections");
describe('CrossDomainProjections', () => {
    let projections;
    beforeEach(() => {
        projections = new cross_domain_projections_1.CrossDomainProjections();
    });
    test('projects coding to legal', () => {
        const proj = projections.getProjection('coding', 'legal');
        expect(proj).not.toBeNull();
        expect(proj.transferAccuracy).toBeGreaterThan(0.7);
    });
    test('projects coding to finance', () => {
        const proj = projections.getProjection('coding', 'finance');
        expect(proj).not.toBeNull();
        expect(proj.transferAccuracy).toBeGreaterThan(0.7);
    });
    test('validates transfer accuracy gate', () => {
        const legal = projections.getProjection('coding', 'legal');
        expect(projections.validateTransferAccuracy(legal)).toBe(true);
        const finance = projections.getProjection('coding', 'finance');
        expect(projections.validateTransferAccuracy(finance)).toBe(true);
    });
    test('getAllProjections returns all', () => {
        expect(projections.getAllProjections()).toHaveLength(2);
    });
    test('getResearchGateStatus returns status', () => {
        const status = projections.getResearchGateStatus();
        expect(status).toContain('RESEARCH GATE');
    });
    test('returns null for unknown projection', () => {
        expect(projections.getProjection('unknown', 'domain')).toBeNull();
    });
});
//# sourceMappingURL=cross-domain-projections.test.js.map