import { TwoStageTest } from '@/two-stage-test'; import { firstFixture } from './fixtures/two-stage-test/first-fixture'; import { secondFixture } from './fixtures/two-stage-test/second-fixture'; import { thirdFixture } from './fixtures/two-stage-test/third-fixture'; import { fourthFixture } from './fixtures/two-stage-test/fourth-fixture'; import { fifthFixture } from './fixtures/two-stage-test/fifth-fixture'; import { sixthFixture } from './fixtures/two-stage-test/sixth-fixture'; describe('[Two stage] First fixture', () => { let test: TwoStageTest; beforeEach(() => { test = new TwoStageTest(...firstFixture.selections); }); it('should return anxiety levels correctly', () => { expect(test.anxietyLevels).toStrictEqual(firstFixture.anxietyLevels); }); it('should return total anxiety level correctly', () => { expect(test.totalAnxietyLevel).toStrictEqual(firstFixture.totalAnxietyLevel); }); it('should return emotional state correctly', () => { expect(test.emotionalStates).toStrictEqual(firstFixture.emotionalStates); }); it('should return pairs correctly', () => { expect(test.pairs).toStrictEqual(firstFixture.pairs); }); it('should return groups correctly', () => { expect(test.groups).toStrictEqual(firstFixture.groups); }); it('should return signs correctly', () => { expect(test.signs).toStrictEqual(firstFixture.signs); }); it('should return sign maps correctly', () => { expect(test.signMaps).toStrictEqual(firstFixture.signMaps); }); it('should return interpretation pairs correctly', () => { expect(test.interpretationPairs).toStrictEqual(firstFixture.interpretationPairs); }); }); describe('[Two stage] Second fixture', () => { let test: TwoStageTest; beforeEach(() => { test = new TwoStageTest(...secondFixture.selections); }); it('should return anxiety levels correctly', () => { expect(test.anxietyLevels).toStrictEqual(secondFixture.anxietyLevels); }); it('should return total anxiety level correctly', () => { expect(test.totalAnxietyLevel).toStrictEqual(secondFixture.totalAnxietyLevel); }); it('should return emotional state correctly', () => { expect(test.emotionalStates).toStrictEqual(secondFixture.emotionalStates); }); it('should return pairs correctly', () => { expect(test.pairs).toStrictEqual(secondFixture.pairs); }); it('should return groups correctly', () => { expect(test.groups).toStrictEqual(secondFixture.groups); }); it('should return signs correctly', () => { expect(test.signs).toStrictEqual(secondFixture.signs); }); it('should return sign maps correctly', () => { expect(test.signMaps).toStrictEqual(secondFixture.signMaps); }); it('should return interpretation pairs correctly', () => { expect(test.interpretationPairs).toStrictEqual(secondFixture.interpretationPairs); }); }); describe('[Two stage] Third fixture', () => { let test: TwoStageTest; beforeEach(() => { test = new TwoStageTest(...thirdFixture.selections); }); it('should return anxiety levels correctly', () => { expect(test.anxietyLevels).toStrictEqual(thirdFixture.anxietyLevels); }); it('should return total anxiety level correctly', () => { expect(test.totalAnxietyLevel).toStrictEqual(thirdFixture.totalAnxietyLevel); }); it('should return emotional state correctly', () => { expect(test.emotionalStates).toStrictEqual(thirdFixture.emotionalStates); }); it('should return pairs correctly', () => { expect(test.pairs).toStrictEqual(thirdFixture.pairs); }); it('should return groups correctly', () => { expect(test.groups).toStrictEqual(thirdFixture.groups); }); it('should return signs correctly', () => { expect(test.signs).toStrictEqual(thirdFixture.signs); }); it('should return sign maps correctly', () => { expect(test.signMaps).toStrictEqual(thirdFixture.signMaps); }); it('should return interpretation pairs correctly', () => { expect(test.interpretationPairs).toStrictEqual(thirdFixture.interpretationPairs); }); }); describe('[Two stage] Fourth fixture', () => { let test: TwoStageTest; beforeEach(() => { test = new TwoStageTest(...fourthFixture.selections); }); it('should return anxiety levels correctly', () => { expect(test.anxietyLevels).toStrictEqual(fourthFixture.anxietyLevels); }); it('should return total anxiety level correctly', () => { expect(test.totalAnxietyLevel).toStrictEqual(fourthFixture.totalAnxietyLevel); }); it('should return emotional state correctly', () => { expect(test.emotionalStates).toStrictEqual(fourthFixture.emotionalStates); }); it('should return pairs correctly', () => { expect(test.pairs).toStrictEqual(fourthFixture.pairs); }); it('should return groups correctly', () => { expect(test.groups).toStrictEqual(fourthFixture.groups); }); it('should return signs correctly', () => { expect(test.signs).toStrictEqual(fourthFixture.signs); }); it('should return sign maps correctly', () => { expect(test.signMaps).toStrictEqual(fourthFixture.signMaps); }); it('should return interpretation pairs correctly', () => { expect(test.interpretationPairs).toStrictEqual(fourthFixture.interpretationPairs); }); }); describe('[Two stage] Fifth fixture', () => { let test: TwoStageTest; beforeEach(() => { test = new TwoStageTest(...fifthFixture.selections); }); it('should return anxiety levels correctly', () => { expect(test.anxietyLevels).toStrictEqual(fifthFixture.anxietyLevels); }); it('should return total anxiety level correctly', () => { expect(test.totalAnxietyLevel).toStrictEqual(fifthFixture.totalAnxietyLevel); }); it('should return emotional state correctly', () => { expect(test.emotionalStates).toStrictEqual(fifthFixture.emotionalStates); }); it('should return pairs correctly', () => { expect(test.pairs).toStrictEqual(fifthFixture.pairs); }); it('should return groups correctly', () => { expect(test.groups).toStrictEqual(fifthFixture.groups); }); it('should return signs correctly', () => { expect(test.signs).toStrictEqual(fifthFixture.signs); }); it('should return sign maps correctly', () => { expect(test.signMaps).toStrictEqual(fifthFixture.signMaps); }); it('should return interpretation pairs correctly', () => { expect(test.interpretationPairs).toStrictEqual(fifthFixture.interpretationPairs); }); }); describe('[Two stage] Sixth fixture', () => { let test: TwoStageTest; beforeEach(() => { test = new TwoStageTest(...sixthFixture.selections); }); it('should return anxiety levels correctly', () => { expect(test.anxietyLevels).toStrictEqual(sixthFixture.anxietyLevels); }); it('should return total anxiety level correctly', () => { expect(test.totalAnxietyLevel).toStrictEqual(sixthFixture.totalAnxietyLevel); }); it('should return emotional state correctly', () => { expect(test.emotionalStates).toStrictEqual(sixthFixture.emotionalStates); }); it('should return pairs correctly', () => { expect(test.pairs).toStrictEqual(sixthFixture.pairs); }); it('should return groups correctly', () => { expect(test.groups).toStrictEqual(sixthFixture.groups); }); it('should return signs correctly', () => { expect(test.signs).toStrictEqual(sixthFixture.signs); }); it('should return sign maps correctly', () => { expect(test.signMaps).toStrictEqual(sixthFixture.signMaps); }); it('should return interpretation pairs correctly', () => { expect(test.interpretationPairs).toStrictEqual(sixthFixture.interpretationPairs); }); });