Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Fixtures #9

Open
CarloLepelaars opened this issue Dec 10, 2022 · 0 comments
Open

Test Fixtures #9

CarloLepelaars opened this issue Dec 10, 2022 · 0 comments
Labels
good first issue Good for newcomers tests Related to running (automated) tests

Comments

@CarloLepelaars
Copy link
Owner

CarloLepelaars commented Dec 10, 2022

Refactor so testing framework can easily be extended to multiple test cases (fixtures).

Thinking of some JSON structure to maps input parameters to Greek outputs.

{"test_cases": [
    {"inputs": {"K": 50, q: 0.}, "outputs": {"delta": 0.76, "gamma": 0.053},
    {"inputs": {"K": 50, q: 0.05}, "outputs": {"delta": 0.76, "gamma": 0.053},
    ]
}
@CarloLepelaars CarloLepelaars added good first issue Good for newcomers tests Related to running (automated) tests labels Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers tests Related to running (automated) tests
Projects
None yet
Development

No branches or pull requests

1 participant