Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor test case to include a timeout and simulate user input
- Added a timeout of 5000ms to the test case - Simulated user input by sending openai to stdin - Added a short delay before sending the next input - Simulated another input by sending y to stdin - Ended stdin after all inputs have been sent - Created an instance of Loz and called the init() method - Assigned the result of the init() method to the variable res Generated by gpt-3.5-turbo
- Loading branch information