RYP / test_script.ts
Soumya79's picture
Upload 1361 files
f91a684 verified
import { parseAptitudeContent } from './src/components/AptitudeContentPage';
const text = `Q1. What were the total sales in 2020?
Statement 1: Q3 sales in 2020 were ₹35 lakhs.
Statement 2: Total sales in 2021 were ₹140 lakhs.
A) Statement 1 alone B) Statement 2 alone C) Both together D) Either alone E) Neither
Answer: A) Statement 1 alone
Explanation: 2020 total = 25+30+Q3+20. With Q3=35 → total=110. St1 alone sufficient. Answer A.`;
const res = parseAptitudeContent(text);
console.log(JSON.stringify(res, null, 2));