Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoyaYasuda committed Jun 12, 2023
1 parent 5d81e9c commit 198ac2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/sampler/test_ga_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ def test_ga_sampler_run_with_seed():
result = sampler.run(qubo, shots=1)
assert result is not None
assert result[0][0] is not None
assert result[0][0]["x"] == 0
assert result[0][0]["x"] == 1
assert result[0][0]["y"] == 1
assert result[0][0]["z"] == 1
6 changes: 3 additions & 3 deletions tests/sampler/test_sa_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ def test_sa_sampler_run_with_seed():
result = sampler.run(qubo, shots=1)
assert result is not None
assert result[0][0] is not None
assert result[0][0]["x"] == 0
assert result[0][0]["y"] == 0
assert result[0][0]["z"] == 0
assert result[0][0]["x"] == 1
assert result[0][0]["y"] == 1
assert result[0][0]["z"] == 1

0 comments on commit 198ac2e

Please sign in to comment.