bqth29 / simulated-bifurcation-algorithm

Python CPU/GPU implementation of the Simulated Bifurcation (SB) algorithm to solve quadratic optimization problems (QUBO, Ising, TSP, optimal asset allocations for a portfolio, etc.).
MIT License
112 stars 26 forks source link

Parametrized tests #61

Closed bqth29 closed 2 months ago

bqth29 commented 8 months ago

💬 Pull Request Description

Some tests are parametrized to automate them for all possible computation dtypes and devices.

✔️ Check list

Before you open the pull request, make sure the following requirements are met.

🚀 New features

None.

🐞 Bug fixes

None.

📣 Supplementary information

None.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (6194a9e) to head (94a5b37). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #61 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 36 42 +6 Lines 1600 1701 +101 ========================================== + Hits 1600 1701 +101 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

bqth29 commented 2 months ago

Overriden by #78