entropicalabs / openqaoa

Multi-backend SDK for quantum optimisation
MIT License
113 stars 59 forks source link

Update tests #243

Closed devilkiller-ag closed 1 year ago

devilkiller-ag commented 1 year ago

Description

This Draft PR is for solving issue #226. I am dividing test into different files. I am opening this issue to be in loop with the author of issue.

Checklist

Type of change

How it is tested

I ran following commands locally: python -m unittest discover -v which gave following output:


----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

Name the new unit-tests that you have added along with this change. test_notebooks.py : Moved related tests to different files.

vishal-ph commented 1 year ago

@devilkiller-ag, thanks for your attempt at this issue! However, this is not what the issue is asking for! Please re-read the issue description; it describes exactly what is required in the implementation. The file test_problems.py defined inside src/openqaoa-core/tests/ needs to be broken down into specific test files implementing tests for each problem class.

vishal-ph commented 1 year ago

The issue does not mention changing notebook tests defined in test_notebooks.py

vishal-ph commented 1 year ago

@devilkiller-ag, are there any updates you wish to share on this PR?

vishal-ph commented 1 year ago

closing this PR