Skip to content

Commit

Permalink
Create test_hybrid_quantum.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jan 19, 2025
1 parent 6598c89 commit 4893b17
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions quantum/tests/test_hybrid_quantum.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# test_hybrid_quantum.py
import unittest
from quantum.hybrid_quantum import hybrid_algorithm

class TestHybridQuantumAlgorithm(unittest.TestCase):
def test_hybrid_algorithm(self):
result = hybrid_algorithm()
self.assertTrue(result['success']) # Check if the hybrid algorithm was successful

if __name__ == '__main__':
unittest.main()

0 comments on commit 4893b17

Please sign in to comment.