Task test10_multiple_tests
# Test Task with Multiple Test Files
Create a simple calculator script that supports basic operations.
## Requirements
1. Create a file `input/calculator.py` that:
- Has a function `add(a, b)` that returns a + b
- Has a function `subtract(a, b)` that returns a - b
- Has a function `multiply(a, b)` that returns a * b
- Has a function `divide(a, b)` that returns a / b (handle division by zero)
2. Create a file `input/main.py` that:
- Imports the calculator module
- Prints "Calculator ready!"
Make sure all functions work correctly.
PS: You are currently working in an automated system and cannot ask any question or have back and forth with an user.
Create a simple calculator script that supports basic operations.
## Requirements
1. Create a file `input/calculator.py` that:
- Has a function `add(a, b)` that returns a + b
- Has a function `subtract(a, b)` that returns a - b
- Has a function `multiply(a, b)` that returns a * b
- Has a function `divide(a, b)` that returns a / b (handle division by zero)
2. Create a file `input/main.py` that:
- Imports the calculator module
- Prints "Calculator ready!"
Make sure all functions work correctly.
PS: You are currently working in an automated system and cannot ask any question or have back and forth with an user.
Results
23
Models Tested
8.7%
Success Rate
16m 19s
Avg Duration
1m 48s - 30m 32s
Duration Range