Skip to content

Commit

Permalink
Merge pull request #521 from JoelPasvolsky/fix_ra_test
Browse files Browse the repository at this point in the history
Fix failed unittest
  • Loading branch information
randomir authored Jun 13, 2024
2 parents e6f0ba9 + cc78e71 commit 1a77b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_reverse_composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_batch_generate_more_initial_states(self):
self.assertGreaterEqual(len(response), 4)

response = sampler.sample_ising(h, J, initial_states=initial_states, initial_states_generator='tile', num_reads=num_reads)
self.assertEqual(len(response), 4)
self.assertEqual(len(response), 8)

with self.assertRaises(ValueError):
response = sampler.sample_ising(h, J, initial_states=initial_states, initial_states_generator='none', num_reads=num_reads)
Expand Down

0 comments on commit 1a77b93

Please sign in to comment.